using AutoMapper;
using DSWeb.Areas.Dispatch.DB;
using DSWeb.Areas.Dispatch.Job;
using DSWeb.Areas.Dispatch.Models;
using System.Web.Mvc;

namespace DSWeb.Areas.Dispatch
{
    public class DispatchRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Dispatch";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Dispatch_default",
                "Dispatch/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional }
            );
            

        }
    }
}