using System.Web.Mvc;

namespace AreaDemo.Areas.Women
{
    public class WomenAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Women";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Women_default",
                "Women/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                 namespaces: new[] { "AreaDemo.Areas.Women.Controllers" }
            );
        }
    }
}
