Exemplo n.º 1
0
        public ApiResult <List <string> > GetPeopleOvertime(AttendanceEntry attendanceEntry)
        {
            _logger.Info("開始呼叫OvertimeService.GetPeopleOvertime");
            ApiResult <List <string> > apiResult = new ApiResult <List <string> >();

            apiResult.State = false;
            try
            {
                apiResult.Result = _overtimeService.GetPeopleOvertime(attendanceEntry);
                apiResult.State  = true;
            }
            catch (Exception ex)
            {
                apiResult.Message = ex.ToString();
            }
            return(apiResult);
        }