public IHttpActionResult DownloadOQCInputDataForExportExcelAPI(dynamic data) { var jsonData = data.ToString(); var SearchData = JsonConvert.DeserializeObject <QAReportSearchVM>(jsonData); var result = QualityService.GetOQCInputDataForExportExcel(SearchData); return(Ok(result)); }