private void NewStudentExecute() { //Registers for incoming Student object messages Messenger.Default.Register <Student>(this, CheckStudentExists); //Opens the Add Student View _dialogservice.AddStudentView(); Cleanup(); }