/// <summary> /// 웹메뉴그룹 등록 /// </summary> /// <param name="list"></param> /// <param name="REG_CODE"></param> /// <returns></returns> public RTN_SAVE_DATA groupMemberSave(GROUP_MEMBER_SAVE Param) { RTN_SAVE_DATA rtnData = new RTN_SAVE_DATA(); StringBuilder sbSql = new StringBuilder(); try { using (TransactionScope tran = new TransactionScope()) { string sql = Global.DBAgent.LoadSQL(sqlBasePath + "BizService\\Common\\T_STORE_WEBMENU_GROUP_MENU.xml", "groupMemberSave" , Param.PROJECT_SITE.ToString() , Param.STORE_CODE.ToString("1") , Param.GROUP_CODE.ToString("") , Param.MEMBER_CODES.ToString("-1") , Param.REG_CODE.ToString() ); db.ExecuteCommand(sql); tran.Complete(); } } catch (Exception ex) { rtnData.ERROR_MESSAGE = ex.Message; } return(rtnData); }
public JsonResult groupMemberSave(GROUP_MEMBER_SAVE Param) { Param.PROJECT_SITE = Global.ConfigInfo.PROJECT_SITE; Param.REG_CODE = (int)SessionHelper.LoginInfo.MEMBER.MEMBER_CODE; RTN_SAVE_DATA data = new CommonService().groupMemberSave(Param); return(new JsonResult { Data = data }); }