[HttpPut]
[Route(“Update”)]
public async Task UpdateEmp(ModelsTable table)
{
db.Entry(table).State = EntityState.Modified;
await db.SaveChangesAsync();
return NoContent();
}
asp .net core 修改不了数据
.netcore 的api
猜你喜欢
转载自blog.csdn.net/weixin_45633705/article/details/103742307
今日推荐
周排行