public async Task <List <VehicleModel> > GetVehicles(bool?isConnected, int?customerId)
 {
     return(await HttClientUtility.Get <List <VehicleModel> >($"{VehicleDashboardApiEndpoint}/vehicle/GetVehicles", new Dictionary <string, object>
     {
         { "customerId", customerId },
         { "isConnected", isConnected }
     }));
 }
Beispiel #2
0
 public async Task <List <CustomerModel> > GetAllAsync()
 {
     return(await HttClientUtility.Get <List <CustomerModel> >($"{VehicleDashboardApiEndpoint}/customer/GetAll"));
 }
 public async Task <List <VehicleModel> > GetAll()
 {
     return(await HttClientUtility.Get <List <VehicleModel> >($"{VehicleDashboardApiEndpoint}/vehicle/GetAll"));
 }