I have a new-employee form.
When the "Save" button is pressed, a SavingRequested event is raised. The Presenter gets an Employee object from the View and passes it to the Model for further processing.
Should the Employee object created by the View be passed to the Presenter via the event arguments:
public event EventHandler<SavingRequestedEventArgs> SavingRequested;
private void OnSavingRequested()
{
SavingRequested?.Invoke(this, new SavingRequestedEventArgs(employeeObject);
}
or should the View have an Employee property that the Presenter will access?