Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
        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);
            }
        }
Exemplo n.º 3
0
        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);
            }
        }