常用方法
常用方法
常用方法
常用方法
public ActionResult <Inventory> GetItem(string id, Inventory inv) { var inventory = _repo.GetItem(id, inv); if (inventory == null) { return(NotFound()); } return(inventory); }
public ActionResult <Inventory> GetItem(string id, Inventory inv) { var inventory = _repo.GetItem(id, inv); if (inventory == null) { return(NotFound()); } return(inventory); }