public static void SentAllGuestInvitation(int eventId, string body) { List <Common.DTO.GuestDto> guestsList = GuestService.GetGuestListByEventId(eventId); foreach (var guest in guestsList) { mailInvetation(guest.guest_email, body, guest.guest_id, eventId); } }
public static void SentGuestNotConfirmedMail(int eventId, string body, string subject) { List <Common.DTO.GuestDto> guestsList = GuestService.GetGuestNotConfirmed(); foreach (var guest in guestsList) { mailCustom(guest.guest_email, body, subject, eventId); } }
public static void SentAllGuestC(int eventId, string body, string subject) { List <Common.DTO.GuestDto> guestsList = GuestService.GetGuestListByEventId(eventId); foreach (var guest in guestsList) { mailCustom(guest.guest_email, body, subject, eventId); } }