Created
March 30, 2017 22:07
-
-
Save ctolkien/4c9641dda77410c009c1ee640bce92c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car | |
{ | |
string Name {get; set;} | |
string Colour {get; set;} | |
DateTime Manufactured {get; set;} | |
} | |
//---------------- | |
var car = myApiClient.Cars.Get(123); | |
car.Colour = "blue"; | |
myApiClient.Cars.Update(car); | |
//api endpoint complains here - calls to update cannot include the Manufactured date. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment