Beispiel #1
0
 public UserOrganizationRepository(WatcherDbContext context, IMapper automapper)
 {
     Context = context;
     DbSet   = Context.Set <UserOrganization>();
     mapper  = automapper;
 }
Beispiel #2
0
 public Repository(WatcherDbContext context, IMapper automapper)
 {
     Context = context;
     DbSet   = Context.Set <TEntity>();
     mapper  = automapper;
 }
Beispiel #3
0
 public UserChatRepository(WatcherDbContext context)
 {
     _context = context;
     _dbSet   = _context.Set <UserChat>();
 }