private void _view_UserAdd(object sender, EventArgs e) { var user = new User() { Name = _view.UserName, Age = Convert.ToInt32(_view.UserAge) }; _model.AddItem(user); _facade.SendNotification(ApplicationFacade.USER_ADDED); }
private void _view_UserAdd(object sender, EventArgs e) { var user = new User() { Name = _view.UserName, Age = Convert.ToInt32(_view.UserAge) }; _model.AddItem(user); _facade.SendNotification(ApplicationFacade.USER_ADDED); }