public Task <SendNotificationResult> SendSingleAsync(string contact, DAL.Model.Auction auction)
 {
     throw new System.NotImplementedException();
 }
Beispiel #2
0
        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));
 }
Beispiel #4
0
 public Task <SendNotificationResult> SendMultiplesAsync(IEnumerable <string> contacts, DAL.Model.Auction auction)
 {
     throw new NotImplementedException();
 }