public async Task <FileResult> DownloadInformGenerado(InfoClientGetExcel infoClient)
        {
            string            paht = _dataInfoInformesService.fileDataInmformeExcel(infoClient.Id_client, infoClient.Email);
            FileContentResult file = new FileContentResult(
                System.IO.File.ReadAllBytes(paht),
                "application/xlsx")
            {
                FileDownloadName = "Informe.xlsx"
            };

            return(file);
        }
 public async Task <ActionResult <string> > InformeGenerado(InfoClientGetExcel info)
 {
     return(_dataInfoInformesService.GenerateInformeClient(info.Id_client, info.Email, _procesosServices.GetProcesos()));;
 }
 public async Task <string> DeleteInformConfig(InfoClientGetExcel info) =>
 _dataInfoInformesService.DeleteInformConfig(info.Id_client, info.Email);