public OrganizationRepository(BrandHubDbContext context) : base(context) { }
public UserRoleRepository(BrandHubDbContext context) : base(context) { }
public HostDefinitionRepository(BrandHubDbContext context) : base(context) { }
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>(); }