/// <summary> /// /// </summary> /// <param name="id"></param> /// <param name="isLoadRoles">是否加载角色</param> /// <returns></returns> public static AdminInfo Get(int id, bool isLoadRoles) { return(AdminManage.Get(id, isLoadRoles)); }
public static AdminInfo Get(string userName, bool isLoadRoles) { return(AdminManage.Get(userName, isLoadRoles)); }