public AuthorProvider(string connectionString) { authorRepository = new AuthorRepository(connectionString); novelRepository = new NovelRepository(connectionString); }
public AuthorProvider(IAuthorRepository authorRepo, INovelRepository novelRepo) { this.authorRepo = authorRepo; this.novelRepo = novelRepo; }
public NovelProvider(INovelRepository repo) { this.repo = repo; }