public UsuariosController(IUnitOfWork unitOfWork, RodriguezModel db, IMapper mapper) { _unitOfWork = unitOfWork; _repo = new AuthRepository(); _db = db; _Mapper = mapper; }
public BonoService(RodriguezModel db) { _db = db; bonoRepo = new BonoRepository(); }
public AuthRepository() { db = new RodriguezModel(); _userManager = new UserManager <IdentityUser>(new UserStore <IdentityUser>(db)); }
public UnitOfWork(RodriguezModel db) { _db = db; }
public Repository(RodriguezModel db) { _db = db; this.table = _db.Set <T>(); }