public IActionResult GetFromCategory(string id, [FromQuery] ApiParams apiParams) { var model = _service.GetCodesFromCategory(id, apiParams); return(Ok(model)); }