/// <summary>
        /// ECC 13/10/18 metodo de obtener el pdf de planillaafpfuturo
        /// </summary>
        /// <returns></returns>
        public byte[] ObtenerReportePlanillaAfpFuturo(int mes, int gestion, out string mimeType)
        {
            mimeType = string.Empty;

            LocalReport localReport = new LocalReport();
            string      path        = Path.Combine(Server.MapPath("~/Reports/Planillas"), "ReportePlanillaAfpFuturo.rdlc");

            if (System.IO.File.Exists(path))
            {
                localReport.ReportPath = path;
            }
            else
            {
                throw new ApplicationException("La ruta al reporte no existe, favor verificar.");
            }
            var reportePlanillaAfpFuturo = planillasManager.GetPlanillaAfpFuturo(mes, gestion);

            ReportDataSource rdsPlanillaAfpFuturo = new ReportDataSource("datosfuturo", reportePlanillaAfpFuturo);

            localReport.DataSources.Add(rdsPlanillaAfpFuturo);

            string reportType = "PDF";
            string encoding;
            string fileNameExtension;
            string deviceInfo =
                "<DeviceInfo>" +
                "  <OutputFormat>" + reportType + "</OutputFormat>" +
                "  <PageWidth>17in</PageWidth>" +
                "  <PageHeight>11in</PageHeight>" +
                "  <MarginTop>0.5in</MarginTop>" +
                "  <MarginLeft>0.5in</MarginLeft>" +
                "  <MarginRight>0.5in</MarginRight>" +
                "  <MarginBottom>0.5in</MarginBottom>" +
                "</DeviceInfo>";

            Warning[] warnings;
            string[]  streams;
            byte[]    renderedBytes;

            renderedBytes = localReport.Render(
                reportType,
                deviceInfo,
                out mimeType,
                out encoding,
                out fileNameExtension,
                out streams,
                out warnings);
            return(renderedBytes);
        }