Пример #1
0
        public Owner GetOwnerById(int ownerId)
        {
            var request = new OwnerRequest {
                Id = ownerId
            };
            var response = _findMyPetClient.JsonClient().Get(request);

            return(response);
        }
Пример #2
0
        public List <Pet> GetPetsByOwnerId(int ownerId)
        {
            var request = new PetsSearchByOwnerRequest {
                OwnerId = ownerId
            };
            var response = _findMyPetClient.JsonClient().Post(request);

            return(response.Result);
        }
        public List <PetLost> SearchLostPets(PetSearchByDateRequest request)
        {
            var response = _findMyPetClient.JsonClient().Post(request);

            return(response);
        }
Пример #4
0
        public AdminDashboardDetails GetDashboardDetails()
        {
            var request = new AdminDashboardRequest();

            return(_findMyPetClient.JsonClient().Get(request));
        }