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