public static void GenerateAndSendData(ViewModel.SenderAndRecieversThreePersonsSingleChoice model, string contenttext, BackgroundImageEnum background, Mp3Enum song, FontsEnum font)
        {
            var stringpath = ITextSharpPdfCreator.GeneratefileForCustomers.GeneratePdfFileForCustomer(ReturnPathString.ReturnUniqueFileName(), model.sender.firstname, model.sender.lastname, contenttext, background, song, font);

            SmtpMailService.SendCustomerMail.SendMailToCustomer(model.Recipient1.Email, stringpath, song);
            SmtpMailService.SendCustomerMail.SendMailToCustomer(model.Recipient2.Email, stringpath, song);
            SmtpMailService.SendCustomerMail.SendMailToCustomer(model.Recipient3.Email, stringpath, song);
        }
        public void GenerateAndSendGeneralChoice(ViewModel.SenderAndRecieversThreePersonsSingleChoice model, string contenttext, BackgroundImageEnum background, Mp3Enum song, FontsEnum font)
        {
            var item2 = new GenerateAndSendDataTripleDelegate(GeneralFunctions.GeneratePdfAndSendToRecipients.GenerateAndSendData);

            item.TripleGeneralChoiceEvent += item2;
            item.TripleGeneralChoiceEvent(model, contenttext, background, song, font);
            item.TripleGeneralChoiceEvent -= item2;
        }