static UIntPrimaryKeyTypeController() { CachedData = new UIntPrimaryKeyType[] { new UIntPrimaryKeyType() { ID = 1 }, new UIntPrimaryKeyType() { ID = 2 }, new UIntPrimaryKeyType() { ID = 3 } }; }
public UIntPrimaryKeyType Patch([FromODataUri]uint key, UIntPrimaryKeyType model) { model = CachedData.Single(d => d.ID == key); return model; }
public UIntPrimaryKeyType Patch([FromODataUri] uint key, UIntPrimaryKeyType model) { model = CachedData.Single(d => d.ID == key); return(model); }