public IActionResult Criar( [FromServices] IRotaService service, [FromBody] CriarRotaCommand command) { return(Result(service.Criar(command))); }