public async Task <IActionResult> Get(Guid id) { var item = await _itemsRepository.Find(id); if (item == null) { return(NotFound()); } return(Ok(item)); }
public void OnGet(int id) { Item = mItem.Find(id); }
public void OnGet(int id) { Item = mItem.Find(id); AllGroups = mGroups.GetAll(); }
public void OnGet(int id) { Item = mItem.Find(id); AllGroups = g_Method.GetAll(); }