ATS.MVC.UI.WebApiConfig.Register C# (CSharp) Method

Register() public static method

public static Register ( System.Web.Http.HttpConfiguration config ) : void
config System.Web.Http.HttpConfiguration
return void
        public static void Register(HttpConfiguration config)
        {
            config.Routes.MapHttpRoute(
                name: "DefaultApi",
                routeTemplate: "api/{controller}/{id}",
                defaults: new { id = RouteParameter.Optional }
            );
        }
WebApiConfig