public ActionResult GetInviteUsersRow(int count, int groupid) { string msg; try { var model = _secretSantaBl.AdditionalInviteUsersViewModel(count, groupid); return(PartialView("_InviteUsersRow", model)); } catch (AppException ax) { msg = ax.Message; } catch (Exception) { msg = "An Error Has Occured"; } return(PartialView("_ErrorMessage", new StringModel(msg))); }