public Task <SendNotificationResult> SendSingleAsync(string contact, DAL.Model.Auction auction) { throw new System.NotImplementedException(); }
public async Task <SendNotificationResult> SendSingleAsync(string contact, DAL.Model.Auction auction) { var message = MailTemplate.NotificationTemplate(auction); return(await emailService.SendMessage(contact, "Nowa potrzeba", message)); }
public async Task <SendNotificationResult> SendMultiplesAsync(IEnumerable <string> contacts, DAL.Model.Auction auction) { return(await smsService.SendAsync( SMSTemplate.NewNotification($"{jobsOptions.Value?.ServiceShortUrl}/{auction.Id}"), contacts)); }
public Task <SendNotificationResult> SendMultiplesAsync(IEnumerable <string> contacts, DAL.Model.Auction auction) { throw new NotImplementedException(); }