public IActionResult Additems(Items items) { try { _repo.Additems(items); return(Ok()); } catch (Exception e) { return(NotFound(e.InnerException.Message)); } }
public IActionResult Additems(Items items) { try { _repo.Additems(items); return(Ok()); } catch (Exception e) { return(NotFound(e.InnerException.Message)); } }