Esempio n. 1
0
        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"));
        }
Esempio n. 2
0
 private string GetTitle(JubileeFormVM model)
 {
     return("Поздравление c юбилеем");
 }