public PanelaController(IConfiguration configuration) { Configuration = configuration; string connectionString = Configuration["ConnectionStrings:DefaultConnection"]; _panelaService = new PanelaService(connectionString); }
public PanelaController(DatosContext _context) { _panelaService = new PanelaService(_context); }
public PanelaController(ProductoAlmacenadoContext _context) { _panelaService = new PanelaService(_context); }