示例#1
0
        public ActionResult MonthSummary()
        {
            try
            {
                #region " [ Declaration ] "

                ReportService _service = new ReportService();

                #endregion

                #region " [ Main processing ] "

                var _model = _service.CategorySettingByMonth(DateTime.Now.Year, DateTime.Now.Month, UserID);

                #endregion

                return(PartialView("Partials/_MonthSummary", _model));
            }
            catch (ServiceException serviceEx)
            {
                throw serviceEx;
            }
            catch (DataAccessException accessEx)
            {
                throw accessEx;
            }
            catch (Exception ex)
            {
                throw new ControllerException(FILE_NAME, MethodInfo.GetCurrentMethod().Name, UserID, ex);
            }
        }