In MVC the ActionResult is the core element of returning knowledge. I’ve made three regular ActionResult that makes you quick returning knowledge:
1. ActionResult_Zip – you possibly can add many recordsdata and returns a Zip file with these recordsdata compressed
2. ActionResult_CSVDataTable : takes a DataTable as argument and returns a csv from this datatable
3. ActionResult_CSVObject : takes an IEnumerable(Record, array) of objects of identical kind and returns the csv from the properties of the sort and values of the IEnumerable objects.