예제 #1
0
        public async Task UpdateDriverExtendedIdAsync(ExtendedDriverIdUpdate driver)
        {
            IHttpRestRequest request = GetRequest(APIControllerRoutes.DriversController.UPDATEDRIVEREXTENTEDID, HttpMethod.Put);

            request.AddJsonBody(driver);
            await ExecuteAsync(request).ConfigureAwait(false);
        }
예제 #2
0
        public void UpdateDriverExtendedId(ExtendedDriverIdUpdate driver)
        {
            IHttpRestRequest request = GetRequest(APIControllerRoutes.DriversController.UPDATEDRIVEREXTENTEDID, HttpMethod.Put);

            request.AddJsonBody(driver);
            Execute(request);
        }