public PedidoRepository(IConfiguration configuration, IHostingEnvironment hostingEnvironment)
 {
     _ConnectionString   = configuration.GetConnectionString("ConnectionString");
     _reposiDetalle      = new DetPedidoRepository(configuration);
     _reposiUsuario      = new UsuarioRepository(configuration);
     _reposiImpresora    = new ImpresoraRepository(configuration);
     _reposiPiso         = new PisoRepository(configuration);
     _hostingEnvironment = hostingEnvironment;
     impresoraAnulacion  = new Impresora();
 }
Beispiel #2
0
 public MesaRepository(IConfiguration configuration)
 {
     _ConnectionString = configuration.GetConnectionString("ConnectionString");
     _reposiPiso       = new PisoRepository(configuration);
 }
Beispiel #3
0
 public UsuarioPisoRepository(IConfiguration configuration)
 {
     _ConnectionString = configuration.GetConnectionString("ConnectionString");
     _reposiUsuario    = new UsuarioRepository(configuration);
     _reposiPiso       = new PisoRepository(configuration);
 }