Beispiel #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, CuposDbContext cuposDbContext)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }
            else
            {
                app.UseHsts();
            }

            app.UseHttpsRedirection();
            app.UseMvc();
        }
 public CupoTransportadoraEstadoController(CuposDbContext cuposDbContext)
 {
     _cuposDbContext = cuposDbContext;
 }
 public CuposBaseController(CuposDbContext cuposDbContext)
 {
     _cuposDbContext = cuposDbContext;
 }
 public CupoProductoController(CuposDbContext cuposDbContext)
 {
     _cuposDbContext = cuposDbContext;
 }