public ResponseDto <IEnumerable <Breed> > GetAllBreeds() { return(new ResponseDto <IEnumerable <Breed> > { Data = _breedsRepository.GetAll() }); }
public IEnumerable <Breed> GetAllBreeds() { return(breedsRepository.GetAll()); }