public void GenerateAndSendMultipleChoice(ViewModel.SenderAndRecieverThreePersonsMultipleChoice model)
        {
            var item2 = new GenerateAndSendDataTripleDelegateMultiple(GeneralFunctions.GeneratePdfAndSendToRecipients.GenerateAndSendData);

            item.TripleMultipleChoiceEvent += item2;
            item.TripleMultipleChoiceEvent(model);
            item.TripleMultipleChoiceEvent -= item2;
        }
        public static void GenerateAndSendData(ViewModel.SenderAndRecieverThreePersonsMultipleChoice model)
        {
            var stringpath = ITextSharpPdfCreator.GeneratefileForCustomers.GeneratePdfFileForCustomer(ReturnPathString.ReturnUniqueFileName(), model.sender.firstname, model.sender.lastname, model.sender.messagetoshow, model.Recipient1.StoreBackgroundImage, model.Recipient1.StoreMp3, model.Recipient1.StoreFont);

            SmtpMailService.SendCustomerMail.SendMailToCustomer(model.Recipient1.Email, stringpath, model.Recipient1.StoreMp3);
            var stringpath2 = ITextSharpPdfCreator.GeneratefileForCustomers.GeneratePdfFileForCustomer(ReturnPathString.ReturnUniqueFileName(), model.sender.firstname, model.sender.lastname, model.sender.messagetoshow, model.Recipient2.StoreBackgroundImage, model.Recipient2.StoreMp3, model.Recipient2.StoreFont);

            SmtpMailService.SendCustomerMail.SendMailToCustomer(model.Recipient2.Email, stringpath, model.Recipient2.StoreMp3);
            var stringpath3 = ITextSharpPdfCreator.GeneratefileForCustomers.GeneratePdfFileForCustomer(ReturnPathString.ReturnUniqueFileName(), model.sender.firstname, model.sender.lastname, model.sender.messagetoshow, model.Recipient3.StoreBackgroundImage, model.Recipient3.StoreMp3, model.Recipient3.StoreFont);

            SmtpMailService.SendCustomerMail.SendMailToCustomer(model.Recipient3.Email, stringpath, model.Recipient3.StoreMp3);
        }