Given a database table Person holding the 3 colums Id, Firstname and Lastname.
How does the ASP.NET Core Web API MVC controller methods PATCH (modify only the lastname) look like when using a real DbContext.
I do not know how to implement it at all (and can't find a tutorial on that) so I ended up with the code below but do not know how to procede.
[HttpPatch("{id}")]
public void Patch(int id, [FromBody]Person value)
{
//is this the correct method signature?
// what to do with dbContext in here?
}