public IHttpActionResult QueryExceptionTimeAPI(dynamic data) { var jsondata = data.ToString(); var searchModel = JsonConvert.DeserializeObject <ExceptionDTO>(jsondata); var page = JsonConvert.DeserializeObject <Page>(jsondata); var result = exceptionService.QueryExceptionTime(searchModel, page); return(Ok(result)); }