Beispiel #1
0
        public ActionResult Index()
        {
            try
            {
                #region " [ Declaration ] "

                AboutService _service = new AboutService();
                var          _model   = _service.GetItemByID(new AboutModel()
                {
                    CreateBy = UserID, Insert = false
                });

                #endregion

                return(View(_model));
            }
            catch (ServiceException serviceEx)
            {
                throw serviceEx;
            }
            catch (DataAccessException accessEx)
            {
                throw accessEx;
            }
            catch (Exception ex)
            {
                throw new ControllerException(FILE_NAME, "Index", UserID, ex);
            }
        }