public IActionResult Get(int id) { var data = _categoryServices.Find(id); if (data == null) { return(NotFound()); } return(Ok(data)); }