Example #1
0
 public ActionResult BusinessInformation(Web.ViewModel.BusinessInformationViewModel bivm)
 {
     try
     {
         _service.SaveBusinessInformation(bivm);
         return(Content("This Contact: " + bivm.lead.Contact1FirstName + " " + bivm.lead.Contact1LastName + " has been saved"));
     }
     catch
     {
         return(Content("This Lead was removed from the system. Please contact your Trinity Manager for details"));
     }
 }
Example #2
0
        public ActionResult CreateProfile(Web.ViewModel.BusinessInformationViewModel bivm)
        {
            try
            {
                bivm.lead.Status           = "Cold Lead";
                bivm.lead.Ignored          = false;
                bivm.lead.Reassigned       = false;
                bivm.lead.DateTimeImported = DateTime.Now;

                _service.SaveBusinessInformation(bivm);
                //return Content("This Contact: " + bivm.lead.Contact1FirstName + " " + bivm.lead.Contact1LastName + " has been saved");
                return(RedirectToActionPermanent("Index", "LeadList"));
            }
            catch
            {
                return(Content("This Lead was removed from the system. Please contact your Trinity Manager for details"));
            }
        }