/// <summary> /// <see cref="RepositoryWrapper"/> constructor. /// </summary> /// <param name="urbanDictionaryDBContext"></param> public RepositoryWrapper(UrbanDictionaryDBContext urbanDictionaryDBContext) { _dbContext = urbanDictionaryDBContext; }
/// <summary> /// <see cref="WordRepository"/> constructor. /// </summary> /// <param name="dbContext">Database context</param> public WordRepository(UrbanDictionaryDBContext dbContext) : base(dbContext) { _context = dbContext; }
public UserSavedWordsRepository(UrbanDictionaryDBContext dbContext) : base(dbContext) { _context = dbContext; }
/// <summary> /// Constructor for <see cref="RepositoryBase{T}"/>. /// </summary> /// <param name="urbanDictionaryDBContext"> Database context.</param> public RepositoryBase(UrbanDictionaryDBContext urbanDictionaryDBContext) { this.UrbanDictionaryDBContext = urbanDictionaryDBContext; }
/// <summary> /// <see cref="UserRepository"/> constructor. /// </summary> /// <param name="dbContext">Database context</param> public UserRepository(UrbanDictionaryDBContext dbContext) : base(dbContext) { }