
PHP
1
Вклад в тег
namespace StopSalesApi
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RouteTable.Routes.MapRoute(
name: "Default",
url: "{controller}/{action}",
defaults: new { controller = "Home", action = "Index" });
GlobalConfiguration.Configure(WebApiConfig.Register);
}
}
}