public RoleRepository(AppDBcontext dbcontext) : base(dbcontext)
 {
     _context = dbcontext;
 }
 public UserRepository(AppDBcontext dbcontext) : base(dbcontext)
 {
     _context = dbcontext;
 }
Пример #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>();
 }