In this code (from the WCF REST starterkit - preview2):
protected override SampleItem OnAddItem(SampleItem initialValue, out string id)
{
// TODO: Change the sample implementation here
id = Guid.NewGuid().ToString();
this.items.Add(id, initialValue);
return initialValue;
}
Am I getting back id as String, or the initialValue as SampleItem?
Edit: Looks like I get both back, so what would a simple example of the method call look like assigned to a couple of variables?