I have an admin controller to manage the appointments from the website, the routes I created as follows,
public IEnumerable<RouteDescriptor> GetRoutes()
{
return new[] {
new RouteDescriptor
{
Route = new Route(
"Admin/Bt.Forms/Appointments",
new RouteValueDictionary {
{"area", "Bt.Forms"},
{"controller", "AppointmentAdmin"},
{"action", "Index"}
},
new RouteValueDictionary(),
new RouteValueDictionary {
{"area", "Bt.Forms"}
},
new MvcRouteHandler())
},
};
}
When navigated to the url, the admin layout and side menus are lost, can anybody enlighten me what I might be missing, Thanks in advance,
-George