public NewsQueryApplicationService( IMapper mapper , INewsRepository newsRepository , INewsApplicationService newsApplicationService , IRedisCache redisCache) { this.mapper = mapper; this.newsRepository = newsRepository; this.newsApplicationService = newsApplicationService; this.redisCache = redisCache; }
public NewsDeleteAutoService(INewsApplicationService newsApplicationService) { this.newsApplicationService = newsApplicationService; }
public NewsInsertAutoService(INewsApplicationService newsApplicationService) { this.newsApplicationService = newsApplicationService; }
public InsertNewsJob(INewsApplicationService newsApplicationService) { this.newsApplicationService = newsApplicationService; }
public UnitTest1() : base() { this.newsApplicationService = ServiceProvider.GetService <INewsApplicationService>(); this.showApiRepository = ServiceProvider.GetService <IShowApiRepository>(); this.newsQueryApplicationService = ServiceProvider.GetService <INewsQueryApplicationService>(); }