// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseSwagger(); app.UseSwaggerUI(c => { c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1"); }); if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } // app.UseHttpsRedirection(); app.UseRouting(); app.UseAuthorization(); app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); using var scope = app.ApplicationServices.CreateScope(); using AossContext context = scope.ServiceProvider.GetRequiredService <AossContext>(); context.Database.EnsureCreated(); }
public AossZorlukPuanlamaController(AossContext context) { _context = context; }
public AossOnlineSinavOgrenciSorularController(AossContext context) { _context = context; }
public AossHataliSorularController(AossContext context) { _context = context; }
public AossOnlineSinavController(AossContext context) { _context = context; }
public AossHocaController(AossContext context) { _context = context; }
public AossYoneticiController(AossContext context) { _context = context; }
public AossOgrenciController(AossContext context) { _context = context; }