public NewsService(INewsArticleRepository newsArticleRepository, INewsContentRepository newsContentRepository, IUserRepository userRepository, IImageRepository imageRepository) { _newsArticleRepository = newsArticleRepository; _newsContentRepository = newsContentRepository; _userRepository = userRepository; _imageRepository = imageRepository; }
public NewsService(INewsArticleRepository newsArticleRepository) { this._newsArticleRepository = newsArticleRepository; }
public NewsArticleController(INewsArticleRepository newsRepo, IFetchService fetchService) { this.newsRepo = newsRepo; this.fetchService = fetchService; }
public NewsArticleService(INewsArticleRepository newsRepository, IUnitOfWork unitOfWork) { this._newsArticleRepository = newsRepository; this._unitOfWork = unitOfWork; }
public NewsArticleService(INewsArticleRepository repo) { this.repo = repo; }