Esempio n. 1
0
        public UserController(IUserView userView, IList <UserViewModel> users)
        {
            _userView = userView ?? throw new ArgumentNullException(nameof(userView));
            _users    = users ?? throw new ArgumentNullException(nameof(users));

            _userView.SetController(this);
        }
Esempio n. 2
0
 public UserController(IUserView view, IList users)
 {
     _view  = view;
     _users = users;
     view.SetController(this);
 }