public OrganizationRepository(BrandHubDbContext context) : base(context)
 {
 }
 public UserRoleRepository(BrandHubDbContext context) : base(context)
 {
 }
Exemple #3
0
 public HostDefinitionRepository(BrandHubDbContext context) : base(context)
 {
 }
Exemple #4
0
 public AddressRepository(BrandHubDbContext context) : base(context)
 {
 }
 public UserTokenRepository(BrandHubDbContext context, IAppSettingReader appSettingReader) : base(context)
 {
     _appSettingReader      = appSettingReader;
     TokenDurationInMinutes = _appSettingReader.GetValue <int>(AuthenticationConstants.TokenDurationKey, 30);
 }
 public BaseRepository(BrandHubDbContext context)
 {
     DbContext = context;
     DbContext.ChangeTracker.LazyLoadingEnabled = true;
     Dbset = context.Set <T>();
 }