public ResponseDto <IEnumerable <CallDto> > GetCompletedCallsByAnimalId(int animalId) { return(new ResponseDto <IEnumerable <CallDto> > { Data = _callsRepository.GetCompletedCallsByAnimalId(animalId).Select(MapBaseCallToDto) }); }
public ResponseDto <IEnumerable <CallDto> > GetCompletedCallsByAnimalId(int animalId) { return(new ResponseDto <IEnumerable <CallDto> > { Data = _callsRepository.GetCompletedCallsByAnimalId(animalId).Select(MapBaseCallToDto) }); }