public DetailsModel(CarnetEmprendedor.Data.ApplicationDbContext context) { _context = context; }
public CreateModel(CarnetEmprendedor.Data.ApplicationDbContext context) { _context = context; }
public ServicioCategoria(CarnetEmprendedor.Data.ApplicationDbContext context) { _context = context; }
public CreateModel(CarnetEmprendedor.Data.ApplicationDbContext context, IHostingEnvironment hostingEnvironment) { _context = context; _hostingEnvironment = hostingEnvironment; }
public ServicioCategoria() { var options = new DbContextOptionsBuilder <ApplicationDbContext>().UseInMemoryDatabase(Guid.NewGuid().ToString()).Options; _context = new ApplicationDbContext(options); }