public NewsApplicationService(IJuHeApiRepository juHeApiRepository , INewsRepository newsRepository , IShowApiRepository showApiRepository ) { this.juHeApiRepository = juHeApiRepository; this.newsRepository = newsRepository; this.showApiRepository = showApiRepository; }
public UnitTest1() : base() { this.newsApplicationService = ServiceProvider.GetService <INewsApplicationService>(); this.showApiRepository = ServiceProvider.GetService <IShowApiRepository>(); this.newsQueryApplicationService = ServiceProvider.GetService <INewsQueryApplicationService>(); }