public static CustomerNotesEditorPresenter Create(ICustomerNotesEditorView view) { return(new CustomerNotesEditorPresenter(view, RepositoryFactory.CreateCustomerNotesRepository())); }
public CustomerNotesEditorPresenter(ICustomerNotesEditorView view, INotesRepository repository) { this.repository = repository; this.view = view; }