public FileResult RelParcelas(DateTime inicio, DateTime fim) { var rel = _relatorioService.RelParcelasEntraSai(inicio, fim); var file = File(rel.GetOutput().GetBuffer(), "application/pdf", "Relatorio.pdf"); return(file); }