23 lines
553 B
C#
23 lines
553 B
C#
using System.Web;
|
|
using System.Web.Mvc;
|
|
using System.Web.Optimization;
|
|
using System.Web.Routing;
|
|
using InventoryTraker.Web.Migrations;
|
|
|
|
namespace InventoryTraker.Web
|
|
{
|
|
public class MvcApplication : HttpApplication
|
|
{
|
|
protected void Application_Start()
|
|
{
|
|
AreaRegistration.RegisterAllAreas();
|
|
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
|
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
|
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
|
|
EFConfig.Initialize();
|
|
SeedData.AddAdminRole();
|
|
//SeedData.Init();
|
|
}
|
|
}
|
|
}
|