/// <summary> /// 根据角色ID删除角色权限 /// </summary> /// <param name="rolerightrequest"></param> /// <returns></returns> public BasicResponse DeleteRolerightByRightId(RolerightDeleteByRightIdRequest rolerightrequest) { _Repository.DeleteRolerightByRightId(rolerightrequest.RightId); var rolerightresponse = new BasicResponse(); return(rolerightresponse); }
/// <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)); }
public BasicResponse DeleteRolerightByRightId(RolerightDeleteByRightIdRequest rolerightrequest) { return(_rolerightService.DeleteRolerightByRightId(rolerightrequest)); }