Restful in .net core
To return success with no content use
return NoContent();
POST is used to create a resource so if the POST has a ID like
POST authors/myid
If the id exists it should return Conflict
return new StatusCodeResult(StatusCodes.Status409Conflict)
To creat...
cwizsoftware.com1 min read