예제 #1
0
        public ActionResult CMS470()
        {
            ObjectResultData res = new ObjectResultData();
            CommonUtil       cm  = new CommonUtil();

            try
            {
                CMS470_ScreenParameter param = GetScreenObject <CMS470_ScreenParameter>();

                // Prepare for show section
                ViewBag.txtCallerScreenId = param.CallerScreenID;

                return(View());
            }
            catch (Exception ex)
            {
                res.AddErrorMessage(ex);
                return(Json(res));
            }
        }
예제 #2
0
        /// <summary>
        /// Check suspend, authority and resume of CMS470
        /// </summary>
        /// <param name="param">Screen parameter</param>
        /// <returns></returns>
        public ActionResult CMS470_Authority(CMS470_ScreenParameter param)
        {
            ObjectResultData res = new ObjectResultData();

            try
            {
                //Check permission
                //if (CheckUserPermission(ScreenID.C_SCREEN_ID_SEARCH_BILLING_INFORMATION, FunctionID.C_FUNC_ID_VIEW) == false)
                //{
                //    res.AddErrorMessage(MessageUtil.MODULE_COMMON, MessageUtil.MessageList.MSG0053);
                //    return Json(res);
                //}
            }
            catch (Exception ex)
            {
                res.AddErrorMessage(ex);
            }

            return(InitialScreenEnvironment <CMS470_ScreenParameter>("CMS470", param, res));
        }