public ActionResult userPermisions(string id) { ApplicationUser user = _userBL.GetAUser(id); userPermisionsVM vm = new userPermisionsVM(); vm.user = user; vm.RolesUserIsIn = _userBL.AllRolesOfAUser(id); vm.RolesUserIsNotIn = _userBL.GetRoles().Where(r => !vm.RolesUserIsIn.Contains(r)).ToList(); return(View(vm)); }