Ejemplo n.º 1
0
 public static void ExecutingFileResult(ILogger logger, FileResult fileResult, string fileName)
 {
     if (logger.IsEnabled(LogLevel.Information))
     {
         var fileResultType = fileResult.GetType().Name;
         ExecutingFileResult(logger, fileResultType, fileName, fileResult.FileDownloadName);
     }
 }