public BasicResponse <RolerightInfo> GetRolerightById(RolerightGetRequest rolerightrequest)
        {
            var result            = _Repository.GetRolerightById(rolerightrequest.Id);
            var rolerightInfo     = ObjectConverter.Copy <RolerightModel, RolerightInfo>(result);
            var rolerightresponse = new BasicResponse <RolerightInfo>();

            rolerightresponse.Data = rolerightInfo;
            return(rolerightresponse);
        }
        public BasicResponse <RolerightInfo> GetRolerightById(RolerightGetRequest rolerightrequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Roleright/Get?token=" + Token, JSONHelper.ToJSONString(rolerightrequest));

            return(JSONHelper.ParseJSONString <BasicResponse <RolerightInfo> >(responseStr));
        }
 public BasicResponse <RolerightInfo> GetRolerightById(RolerightGetRequest rolerightrequest)
 {
     return(_rolerightService.GetRolerightById(rolerightrequest));
 }