示例#1
0
        public void SendEmail()
        {
            List <UserProfile> destEmails = _emailRepository.Get();

            destEmails.ForEach(item => _emailSender.SendEmail(_webDataScrapingService.GetDailySummary(), item.Email));
        }
示例#2
0
 public ActionResult <string> GetWebData()
 {
     return(Ok(_service.GetDailySummary()));
 }