Esempio n. 1
0
        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, HauLeDbContext context)
        {
            loggerFactory.AddConsole(Configuration.GetSection("Logging"));
            loggerFactory.AddDebug();

            app.UseMvc();
            //Add Data To DB
            HauLeDbInitializer.Initialize(context);
        }
 public StudentRepository(HauLeDbContext entityDbContext) : base(entityDbContext)
 {
 }
Esempio n. 3
0
 public EnrollmentRepository(HauLeDbContext entityDbContext) : base(entityDbContext)
 {
 }
 public CourseRepository(HauLeDbContext entityDbContext) : base(entityDbContext)
 {
 }