public IActionResult DeleteItem(int id) { if (id > 0) { return(Ok(_itemStorage.DeleteItem(id))); } else { string message = "Id must be greater than 0"; return(BadRequest(message)); } }