public FileContentResult DomainExport(string keyword = null, string name = null, string bigFootOwned = null, string websiteCurrent = null, string locked = null, string websiteUse = null, string BFStrategy = null, string buySideFunnel = null, string FMVOrderOfMagnitude = null, string companyWebsite = null, string status = null, string autoRenew = null, string version = null, string WHOIS = null, string category = null) { var query = DomainUtils.BuildExportQuery(keyword ?? name, bigFootOwned, websiteCurrent, locked, websiteUse, BFStrategy, buySideFunnel, FMVOrderOfMagnitude, companyWebsite, status, autoRenew, version, WHOIS, category); var file = this._managementDomainService.ExportByQuery(query); return(File(new UTF8Encoding().GetBytes(file.ToString()), "text/csv", $"Export-Domain-{StringUtils.GetCurrentDateTimeAsString()}.csv")); }