//管理员管理 public async Task <ActionResult> AdminList() { IBLL.IUserManager userManager = new BLL.UserManager(); return(View(await userManager.GetAllUsers())); }
public static List<DAL.User> GetAllUsers() { using (BLL.UserManager um = new BLL.UserManager()) { return um.GetAllUsers(); } }