public NewInfoApp(INewsInfoRepository newsInfoRepository) { this.service = newsInfoRepository; }
public NewsInfoController(NewsInfoService newsInfoService, INewsInfoRepository newsInfoRepository) { NewsInfoService = newsInfoService; NewsInfoRepository = newsInfoRepository; }
public NewsInfoService(INewsInfoRepository newsInfoRepository) { NewsInfoRepository = newsInfoRepository; }