コード例 #1
0
        /// <summary>
        /// 根据角色ID删除角色权限
        /// </summary>
        /// <param name="rolerightrequest"></param>
        /// <returns></returns>
        public BasicResponse DeleteRolerightByRightId(RolerightDeleteByRightIdRequest rolerightrequest)
        {
            _Repository.DeleteRolerightByRightId(rolerightrequest.RightId);
            var rolerightresponse = new BasicResponse();

            return(rolerightresponse);
        }
コード例 #2
0
        /// <summary>
        /// 根据角色ID删除角色权限
        /// </summary>
        /// <param name="rolerightrequest"></param>
        /// <returns></returns>
        public BasicResponse DeleteRolerightByRightId(RolerightDeleteByRightIdRequest rolerightrequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Roleright/DeleteRolerightByRightId?token=" + Token, JSONHelper.ToJSONString(rolerightrequest));

            return(JSONHelper.ParseJSONString <BasicResponse>(responseStr));
        }
コード例 #3
0
 public BasicResponse DeleteRolerightByRightId(RolerightDeleteByRightIdRequest rolerightrequest)
 {
     return(_rolerightService.DeleteRolerightByRightId(rolerightrequest));
 }