private void btnAddUser_Click(object sender, EventArgs e) { IEditView editView = new EditForm(); AddUser?.Invoke(editView); }
private void Edit(User user) { IEditView editView = new EditForm(); EditUser?.Invoke(editView, user); }