public ActionResult Details(int id) { var model = _pollAnswerService.GetPollAnswerDetailModel(id); if (model == null) { SetErrorMessage(T("PollAnswer_Message_ObjectNotFound")); return(RedirectToAction("Index")); } return(View(model)); }
public ActionResult Details(int id) { var model = _pollAnswerService.GetPollAnswerDetailModel(id); if (model == null) { SetErrorMessage(T("PollAnswer_Message_ObjectNotFound")); return(RedirectToAction("Index")); } return(View(model)); }