public ActionResult JubileeFormPost(JubileeFormVM model) { var message = _.List(model.FullName, model.CompanyName, model.Message, model.VideoLink) .JoinWith(H.br.ToString()); var fileName = Session[SessionJubileeFileKey].NotNullString(); if (!fileName.IsEmpty()) { fileName = UserImages.GetJubileeFileSys(fileName); } MailService.SendJubilee(message, fileName); return(Content("ok")); }
private string GetTitle(JubileeFormVM model) { return("Поздравление c юбилеем"); }