public void Should_Seed_Employee_Succefully()
        {
            var mjrSolutionContext = new MjrSolutionContext();
            var mjrSolutionConfiguration = new MjrSolutionConfiguration();

            mjrSolutionConfiguration.SeedEmployee(mjrSolutionContext);
        }
        public void Should_Seed_Membership_Succefully()
        {
            var mjrSolutionContext = new MjrSolutionContext();
            var mjrSolutionConfiguration = new MjrSolutionConfiguration();

            mjrSolutionConfiguration.SeedMembership(mjrSolutionContext);
        }
Beispiel #3
0
        protected void Application_Start()
        {
            var context = new MjrSolutionContext();
            context.Database.Initialize(true);

            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            AuthConfig.RegisterAuth();

            Bootstrapper.Initialise();
        }