public IActionResult GetItems(int id) { try { return(Ok(_repo.GetItems(id))); } catch (Exception e) { return(NotFound(e.InnerException.Message)); } }
public IActionResult GetItems(int id) { try { return(Ok(_repo.GetItems(id))); } catch (Exception e) { return(NotFound(e.InnerException.Message)); } }