public IHttpActionResult GetProductInputLocationAPI(dynamic data) { var searchModel = JsonConvert.DeserializeObject <ProductInputLocationSearch>(data.ToString()); var result = EventReportManagerService.QueryProductInputLocation(searchModel, null); return(Ok(result)); }