public IActionResult GetById(int id) { var language = _repo.GetById(id); if (language != null) { return(Ok(language)); } return(NotFound()); }