How to make area as default route in MVC Ask Question
Solutions
Adil Shahbaz
Thanks I got answer.
Here is the answer:
routes.MapRoute(
name: "Default",
url: "{culture}/{controller}/{action}/{id}",
defaults: new { culture = "en", controller = "Home", action = "Index", id = UrlParameter.Optional },
namespaces: new[] { "Demo.Areas.Admin.Controllers" }
).DataTokens.Add("area", "Admin");