public ActionResult Create(Lead lead)
        {
            var message = _messageSender.Send(FormatMessage(lead));
            if (message.RestException == null)
            {
                FlashMessage.Confirmation("Thanks! An agent will be contacting you shortly.");
            }
            else
            {
                FlashMessage.Danger("Oops! There was an error. Please try again.");
            }

            return RedirectToAction("Index", "Home");
        }
 private static string FormatMessage(Lead lead)
 {
     return string.Format(
         "New lead received for {0}. Call {1} at {2}. Message: {3}",
         lead.HouseTitle, lead.Name, lead.Phone, lead.Message);
 }