// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env, EleterosEBContext context) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } //else //{ // // Error page //} //app.UseHttpsRedirection(); app.UseStaticFiles(); //app.UseNodeModules(); app.UseRouting(); app.UseEndpoints(cfg => { cfg.MapControllerRoute("Default", "{controller}/{action}/{id?}", new { controller = "App", Action = "Index" }); }); context.Database.EnsureCreated(); }
public AppointmentTypeRepository(EleterosEBContext context) : base(context) { }
public PatientRepository(EleterosEBContext context) : base(context) { }
public RoomRepository(EleterosEBContext context) : base(context) { }
protected BaseGenericRepository(EleterosEBContext context) { _context = context; }
public SurgeryRoomAppointmentRepository(EleterosEBContext context) : base(context) { }
public ProductRepository(EleterosEBContext context) : base(context) { }
public DoctorRepository(EleterosEBContext context) : base(context) { }
public CategoryRepository(EleterosEBContext context) : base(context) { }