public IActionResult GetSortBy() { try { var result = _services.GetAvailableListSortBy(); return(Ok(result)); } catch (Exception ex) { return(BadRequest(new Error() { Message = $"Erro ao retornar os dados. {ex.Message}", Status = "error" })); } }