initial commit
[CPE_learningsite] / CPE / CPE.App / CPE.App.Api / App_Start / RouteConfig.cs
1 using System.Web.Mvc;
2 using System.Web.Routing;
3
4 namespace CPE.App.Api {
5     public class RouteConfig {
6         public static void RegisterRoutes(RouteCollection routes) {
7
8             routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
9
10             routes.MapRoute("Default", "{controller}/{action}/{id}",
11                 new { controller = "Home", action = "Index", id = UrlParameter.Optional }
12                 );
13         }
14     }
15 }