// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, MicroServicesCDUContext context) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { app.UseHsts(); } app.UseHttpsRedirection(); app.UseMvc(); DbInitializer.Initialize(context); }
public ClientesController(MicroServicesCDUContext context) { _context = context; }
public MovimientosController(MicroServicesCDUContext context) { _context = context; }
public ProductosController(MicroServicesCDUContext context) { _context = context; }