3.BLL层代码
public class viewUserRightInfoManager
{
public static List<viewUserRightInfo> GetAllParentNodeInfoByUserId(int funid, int userid)
{
return viewUserRightInfoService.GetAllParentNodeInfoByUserId(funid, userid);
}
public static List<viewUserRightInfo> select_by_roleid(int roleid)
{
return viewUserRightInfoService.select_by_roleid(roleid);
}
public static List<viewUserRightInfo> select_by_userid(int userid)
{
return viewUserRightInfoService.select_by_userid(userid);
}
public static viewUserRightInfo select_by_username(string username)
{
return viewUserRightInfoService.select_by_username(username);
}
}