我正在开发一个with应用程序(.NET,而不是mvc和indivudual用户帐户),在这里我需要显示具有相应角色的用户。 public IList<ApplicationUser> admins { get; set; }
public UsersModel(ApplicationDbContext当我运行代码时,在将这个帖子标记为副本之前,我收到的是'Object reference not set
我有一个mvc操作public ActionResult EditUser(ApplicationUser model)public classApplicationUser public int UserId { get; set; }
public stringpublic bool IsActive { get; set; }
public bool Is