/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="newsApplicationService"></param> public NewsController(IMapper mapper , INewsQueryApplicationService newsApplicationService) : base(mapper) { this.newsApplicationService = newsApplicationService; }
public UnitTest1() : base() { this.newsApplicationService = ServiceProvider.GetService <INewsApplicationService>(); this.showApiRepository = ServiceProvider.GetService <IShowApiRepository>(); this.newsQueryApplicationService = ServiceProvider.GetService <INewsQueryApplicationService>(); }