public UnitOfWork(SilentManagerContext context) { this._context = context; this.UserRepo = new UserRepository(_context); this.EventRepo = new EventRepository(_context); this.PersonalSettingsRepo = new PersonalSettingsRepository(_context); this.InviteRepo = new InviteRepository(_context); this.LocationRepo = new LocationRepository(_context); this.tokenRepo = new TokenRepository(_context); this.inviteStateRepo = new InviteStateRepository(_context); this.eventHasCategories = new EventHasCategoriesRepository(_context); this.categoriesRepo = new CategoryRepository(_context); }
public InviteRepository(SilentManagerContext dbContext) : base(dbContext) { this.dbContext = dbContext; }
public CategoryRepository(SilentManagerContext dbContext) : base(dbContext) { this.dbContext = dbContext; }
public PersonalSettingsRepository(SilentManagerContext dbContext) : base(dbContext) { this.dbContext = dbContext; }
public UserRepository(SilentManagerContext dbContext) : base(dbContext) { }
public TokenRepository(SilentManagerContext dbContext) : base(dbContext) { }
public EventHasCategoriesRepository(SilentManagerContext dbContext) : base(dbContext) { this.dbContext = dbContext; }