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