コード例 #1
0
        public async Task <(bool, List <Company>)> GetCompanies()
        {
            try
            {
                var output = await _repositoryService.GetCompanies();

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