public static void DistributeAllMargins(int AdminClientID) { Distribute distribute = new Distribute(AdminClientID); distribute.SelectDistributionEmails(); distribute.StartThreadingEmails(); }
public static void DistributeMargin(int AdminClientID, int PriceMarginID) { Distribute distribute = new Distribute(AdminClientID); distribute.PriceMargin = PriceMarginID; distribute.SelectDistributionEmails(); distribute.StartThreadingEmails(); }
public static bool DistributeCompany(int AdminClientID, int CustClientID) { Distribute distribute = new Distribute(AdminClientID); distribute.CustClientID = CustClientID; distribute.SelectDistributionEmails(); distribute.StartThreadingEmails(); return(true); }
public static bool DistributeContact(int AdminClientID, int ContactID) { Distribute distribute = new Distribute(AdminClientID); distribute.ContactID = ContactID; VFMClasses.Contacts contact = new Contacts(ContactID); distribute.SLEmail = new SortedList(); distribute.SLEmail.Add(contact.CustClientID, contact.Email); distribute.SelectDistributionEmails(); distribute.StartThreadingEmails(); return(true); }