Beispiel #1
0
        public async Task <(bool, List <Report>)> GetReportByParam(int companyId, DateTime startDate, DateTime endDate)
        {
            try
            {
                var output = await _repositoryService.GetReportByParam(companyId, startDate, endDate);

                return(true, output);
            }
            catch (Exception ex)
            {
                //TODO LOG Exception
                return(false, null);
            }
        }