public ActionResult Feedback(FeedbackViewModel model) { if (!ModelState.IsValid) { m_feedbacksManager.FillViewModel(model, StaticTexts.TextHomeFeedback, GetFeedbackFormIdentification()); return(View(model)); } m_feedbacksManager.CreateFeedback(model, FeedbackCategoryEnumContract.None, GetMainServiceClient(), IsUserLoggedIn(), GetUserName()); return(View("Feedback/FeedbackSuccess")); }
public ActionResult Feedback(FeedbackViewModel model) { if (!ModelState.IsValid) { m_feedbacksManager.FillViewModel(model, StaticTexts.TextHomeFeedback, "home", GetFeedbackFormIdentification()); return(View(model)); } m_feedbacksManager.CreateFeedback(model, FeedbackCategoryEnumContract.Tools, PortalTypeValue, IsUserLoggedIn()); return(View("Feedback/FeedbackSuccess")); }