Exemplo n.º 1
0
 public async Task <IEnumerable <InspectionViewModel> > GetInspectionsByPropertyIdAsync(int propertyId)
 {
     return(_mapper.Map <IEnumerable <InspectionViewModel> >(await _inspectionRepository.GetInspectionsByPropertyIdAsync(propertyId)));
 }