Пример #1
0
        public async Task <ServiceResult <GetExpensesByCarIdResponse> > GetExpensesByCarIdAsync(string carId)
        {
            var uri = string.Format(Url, carId);

            return(await _requestSenderService.SendAuthGetRequestAsync <GetExpensesByCarIdResponse>(uri));
        }
Пример #2
0
 public async Task <ServiceResult <GetUserCarsResponse> > GetUserCarsAsync()
 {
     return(await _requestSenderService.SendAuthGetRequestAsync <GetUserCarsResponse>(Url));
 }