Ejemplo n.º 1
0
        public Task <R <LicencePlateResponse> > Get(string token, int licencePlateId) =>
        http.Get <LicencePlateResponse>(
            uri: $"{endpoint}/api/v1/LicencePlate/{licencePlateId}",
            settings: HttpSettingsExtension.Create(token)

            );
Ejemplo n.º 2
0
 public Task <R <IdResponse> > Add(string token, AddLicencePlateRequest request) =>
 http.Post <AddLicencePlateRequest, IdResponse>(
     uri: $"{endpoint}/api/v1/LicencePlate/",
     body: request,
     settings: HttpSettingsExtension.Create(token)
     );