public HttpResponseMessage GetDistributorAuthority(string DistributorAuthoritySearchDTO)
        {
            DistributorAuthoritySearchDTO        dto          = TransformHelper.ConvertBase64JsonStringToDTO <DistributorAuthoritySearchDTO>(DistributorAuthoritySearchDTO);
            List <DistributorAuthorityResultDTO> actionresult = null;

            actionresult = _IDistributorServices.GetDistributorAuthority(dto);

            HttpResponseMessage result = new HttpResponseMessage
            {
                Content = new StringContent(JsonConvert.SerializeObject(actionresult),
                                            System.Text.Encoding.GetEncoding("UTF-8"),
                                            "application/json")
            };

            return(result);
        }