using System.Web.Mvc;

namespace PageAdmin.Web.Areas.E
{
    public class EAreaRegistration : AreaRegistration 
    {
        public override string AreaName 
        {
            get 
            {
                return "E";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context) 
        {
            context.MapRoute(
                "E_default",
                "E/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                new string[] { "PageAdmin.Web.Areas.E.Controllers" }
            );
        }
    }
}