public ActionResult AskQuestion(string name, string email, string phone, string question) { try { var adminEmail = settingManager.AdminEmail(); userMailer.AskQuestionAdminVersion(adminEmail, new AskQuestionEmailTemplateViewModel() { Email = email, Name = name, Phone = phone, Question = question }) .Send(); userMailer.AskQuestionCustomerVersion(email, new AskQuestionEmailTemplateViewModel() { Email = email, Name = name, Phone = phone, Question = question }) .Send(); return(Json(new OporationWithoutReturnValueJsonModel())); } catch (Exception ex) { return(Json(new OporationWithoutReturnValueJsonModel(true, ex.Message))); } }