Hello,
I have a method where the user can search for a article number and if its available in the database the articlenumber gets bound to a BindingList. Now I want to let the user know if the article is not available in database. How do I do that the right way?
Just pass the message errorMessage to my interface method?
Presenter: string errorMessage; _view.ErrorMessage(errorMessage);
View: public void ErrorMessage(string errorMessage) { MessageBox.Show(errorMessage); }
Would you do it the same way?