public UsuariosRepositorio(TiendaDbContext contexto, ILogger <UsuariosRepositorio> logger, IPasswordHasher <Usuario> passwordHasher)
 {
     _contexto       = contexto;
     _logger         = logger;
     _passwordHasher = passwordHasher;
     _dbSet          = _contexto.Set <Usuario>();
 }
Beispiel #2
0
 public UsersRepository(TiendaDbContext contexto,
                        ILogger <UsersRepository> logger,
                        IPasswordHasher <Usuario> passwordHasher)
 {
     this._contexto       = contexto;
     this._logger         = logger;
     this._passwordHasher = passwordHasher;
     this._dbSet          = _contexto.Set <Usuario>();
 }
Beispiel #3
0
 public RepoUsuarios(TiendaDbContext contexto,
                     ILogger <RepoUsuarios> logger,
                     IPasswordHasher <Usuario> passwordHasher)
 {
     this._contexto       = contexto;
     this._logger         = logger;
     this._passwordHasher = passwordHasher;
     this._dbSet          = _contexto.Set <Usuario>();
 }
Beispiel #4
0
 public RepositorioOrdenes(TiendaDbContext contexto, ILogger <RepositorioPerfiles> logger)
 {
     this._contexto = contexto;
     this._logger   = logger;
     this._dbSet    = _contexto.Set <Orden>();
 }
 public OrdenesRepositorio(TiendaDbContext contexto, ILogger <OrdenesRepositorio> logger)
 {
     this._contexto = contexto;
     this._logger   = logger;
     this._dbSet    = _contexto.Set <Orden>();
 }
Beispiel #6
0
 public RepoPerfiles(TiendaDbContext context, ILogger <RepoPerfiles> logger)
 {
     this._context = context;
     this._logger  = logger;
     this._dbSet   = _context.Set <Perfil>();
 }
 public OrdenesRepositorio(TiendaDbContext context, ILogger <OrdenesRepositorio> logger)
 {
     _context = context;
     _logger  = logger;
     _dbSet   = _context.Set <Orden>();
 }
Beispiel #8
0
 public OrdersRepository(TiendaDbContext contexto, ILogger <OrdersRepository> logger)
 {
     _contexto = contexto;
     _logger   = logger;
     _dbSet    = _contexto.Set <Orden>();
 }
 public PerfilesRepository(TiendaDbContext context, ILogger <PerfilesRepository> logger)
 {
     _context = context;
     _logger  = logger;
     _dbset   = _context.Set <Perfil>();
 }
Beispiel #10
0
 public PerfilRepositorio(TiendaDbContext context, ILogger <PerfilRepositorio> logger)
 {
     _context = context;
     _logger  = logger;
     _dbSet   = _context.Set <Perfil>();
 }
 public PerfilesRepositorio(TiendaDbContext contexto, ILogger <PerfilesRepositorio> logger)
 {
     this._contexto = contexto;
     this._logger   = logger;
     this._dbSet    = _contexto.Set <Perfil>();
 }