コード例 #1
0
 public List <CompanyLocation_Dto> GetCompanyLocations(Guid companyId)
 {
     return(ObjectMapper.Map <List <CompanyLocation>, List <CompanyLocation_Dto> >(LocationsRepository.WithDetails(x => x.Location).Where(x => x.CompanyId == companyId).ToList()));
 }