コード例 #1
0
        public TimeMapDTO GetTimeMap()
        {
            try
            {
                var timeMap = _timeMapService.GetTimeMap();

                return(timeMap);
            }
            catch (ApplicationException ex)
            {
                throw new ApplicationException("Exception while creating Time Map", ex);
            }
        }
コード例 #2
0
        public TimeMapDTO GetTimeMap()
        {
            try
            {
                int timeZoneOffset = _configService.GetClientTimeShiftMinutes();
                var timeMap        = _timeMapService.GetTimeMap(timeZoneOffset);

                return(timeMap);
            }
            catch (ApplicationException ex)
            {
                throw new ApplicationException("Exception while creating Time Map", ex);
            }
        }