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