I am following this tutorial(What's the currently recommended way of performing partial updates with Web API?) to implement partial updates in my web api. But doing so i am getting an error:
Cannot convert lambda expression to type 'object[]' because it is not a delegate type
This is my code for partial updates/patch :
[AcceptVerbs("PATCH")]
public user PatchDocument(int id, Delta <user> user)
{
var serverUser =db.users.Find(u => u.iduser = id); // This is where i get error Find(u => u.iduser = id)
user.Patch(serverUser);
}