I am creating an API which should return hardcoded list of strings, these list of strings will be used as column names in an excel template.
public IHttpActionResult GetExcelColumnNames()
{
try
{
var columnNames = ""
}
catch(Exception ex)
{
}
}
can some one help on better way to return string list in json format which can be used from front end application and used as excel column names