public RoleRepository(AppDBcontext dbcontext) : base(dbcontext)
 {
     _context = dbcontext;
 }
 public UserRepository(AppDBcontext dbcontext) : base(dbcontext)
 {
     _context = dbcontext;
 }
Esempio n. 3
0
 public TodoRepository(AppDBcontext dbcontext) : base(dbcontext)
 {
     _context = dbcontext;
 }
 public BaseRepository(AppDBcontext dbcontext)
 {
     _dbcontext = dbcontext;
     _dbSet     = _dbcontext.Set <T>();
 }
 public UserInRolesRepository(AppDBcontext dbcontext) : base(dbcontext)
 {
     _context = dbcontext;
     _dbSet   = dbcontext.Set <UserInRole>();
 }