コード例 #1
0
 public async Task <IEnumerable <CompanyElementViewDto> > GetAllCompanies()
 {
     return(_mapper.Map <IEnumerable <CompanyElementViewDto> >(await _companiesService.GetAllAsync() ?? new List <Company>()));
 }