public static void GetExportCsv <T>(this List <T> list, string fileName)// { string csv = GetFileExportCsv(list) + new StringBuilder().AppendLine(); csv += GetDataToCsv(list) + new StringBuilder().AppendLine(); CSVHelper.ExportCsv(csv, fileName); }
public static void GetSampleCsv <T>(this List <T> list, string fileName) { string csv = GetFileUploadCsv(list) + new StringBuilder().AppendLine(); CSVHelper.ExportCsv(csv, fileName); }