示例#1
0
        public ActionResult NewMemberConditionPopup(int membershipid, string acctno)
        {
            string msg;

            try
            {
                var model = _secretSantaBl.MemberConditionsEditModelByMembershipId(membershipid, acctno);
                model.NewCondition = true;
                return(PartialView("_MemberConditions", model));
            }
            catch (AppException ax)
            {
                msg = ax.Message;
            }
            catch (Exception)
            {
                msg = "An Error Has Occured";
            }
            return(PartialView("_ErrorMessage", new StringModel(msg)));
        }