Exemplo n.º 1
0
 public NewsService(INewsArticleRepository newsArticleRepository, INewsContentRepository newsContentRepository, IUserRepository userRepository, IImageRepository imageRepository)
 {
     _newsArticleRepository = newsArticleRepository;
     _newsContentRepository = newsContentRepository;
     _userRepository = userRepository;
     _imageRepository = imageRepository;
 }
Exemplo n.º 2
0
 public NewsService(INewsArticleRepository newsArticleRepository)
 {
     this._newsArticleRepository = newsArticleRepository;
 }
Exemplo n.º 3
0
 public NewsArticleController(INewsArticleRepository newsRepo, IFetchService fetchService)
 {
     this.newsRepo     = newsRepo;
     this.fetchService = fetchService;
 }
Exemplo n.º 4
0
 public NewsArticleService(INewsArticleRepository newsRepository, IUnitOfWork unitOfWork)
 {
     this._newsArticleRepository = newsRepository;
     this._unitOfWork            = unitOfWork;
 }
Exemplo n.º 5
0
 public NewsArticleService(INewsArticleRepository repo)
 {
     this.repo = repo;
 }
 public NewsArticleService(INewsArticleRepository newsRepository, IUnitOfWork unitOfWork)
 {
     this._newsArticleRepository = newsRepository;
     this._unitOfWork = unitOfWork;
 }