public ActionResult <IEnumerable <CorReadDTO> > Get([FromQuery] int?fabricante) { var cores = _repository.GetAllCores(fabricante); cores = cores.OrderBy(x => x.Nome); return(Ok(_mapper.Map <IEnumerable <CorReadDTO> >(cores))); }