예제 #1
0
        public async Task <IActionResult> AllData()
        {
            var file = await _inventoryService.ActualInventorySupplyExcel();

            return(File(file, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
                        $"Inventario de Insumos_{DateTime.Today.Date.ToString("dd/MM/yyyy")}.xlsx"));
        }