I want "Male" or "Female" instead of 1 or 2 in my response can any one help me with this.
Below is my code,
var response = client.GetAsync("contacts?$select=firstname,gendercode&$top=2").Result;
if (response.IsSuccessStatusCode)
{
JObject body = JObject.Parse(response.Content.ReadAsStringAsync().Result);
Console.WriteLine("{0}", body);
}
else
{
Console.WriteLine("Error : " + response.ReasonPhrase);
}