I am creating Web API where i am in need to add prefix to property. Is it possible to prefix some text with a property in controller. For eg. I am having a class A
public class Stats
{
pubic bool IsStat { get; set; }
}
public HttpResponseMessage GetStats(Stats data)
{
}
The Web method GetStats is accessed by passing data as below
{Stat: true}
Now what I need to add Is prefix to the Stat property and so i will be getting true value for IsStat property in class Stats. Is it possible ?