This commit is contained in:
@@ -60,6 +60,7 @@ public class ItemsController : ControllerBase {
|
||||
if(oldItem == null) return NotFound();
|
||||
|
||||
Item updatedItem = new Item {
|
||||
Id = id,
|
||||
Name = item.Name,
|
||||
Description = item.Description,
|
||||
CreatedAt = oldItem.CreatedAt,
|
||||
|
||||
Reference in New Issue
Block a user