C# Class GeositeFramework.Controllers.DownloadController

Inheritance: Controller
Show file Open project: CoastalResilienceNetwork/GeositeFramework

Public Methods

Method Description
Csv ( ) : System.Web.Mvc.ActionResult

Echos a JSON Array of Arrays as a CSV

Text ( ) : System.Web.Mvc.ActionResult

Echo posted text payload as a text file. To be used as an arbitrary structured file downloader for plugins.

Private Methods

Method Description
GetParameters ( System.Web.HttpRequestBase request ) : DownloadInfo

Method Details

Csv() public method

Echos a JSON Array of Arrays as a CSV
public Csv ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Text() public method

Echo posted text payload as a text file. To be used as an arbitrary structured file downloader for plugins.
public Text ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult