public static ExportCsv ( string path ) : void | ||
path | string | |
return | void |
public static void ExportCsv(string path)
{
using (var csv = new CsvWriter(new StreamWriter(path)))
{
csv.Configuration.RegisterClassMap<Models.ImageCsvMap>();
csv.WriteRecords(SearchImages());
}
}