public HttpResponseMessage GetLog(string LogSearchDTO) { LogSearchDTO dto = TransformHelper.ConvertBase64JsonStringToDTO <LogSearchDTO>(LogSearchDTO); ResultDTO <List <LogDTO> > actionresult = new ResultDTO <List <LogDTO> >(); actionresult.Object = _ICommonServices.GetLog(dto); actionresult.SubmitResult = true; actionresult.rows = dto.rows; actionresult.page = dto.page; actionresult.Count = dto.Count; HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(JsonConvert.SerializeObject(actionresult), System.Text.Encoding.GetEncoding("UTF-8"), "application/json") }; return(result); }