/// <summary> /// Starts the quit command of the application which should be called on a view to close the application. /// </summary> /// <param name="db">Optional location of database in case extra handling is required. /// (e.g. persisting changes before quitting)</param> /// <param name="view">The view on which the quit command is called.</param> internal static void Quit(IRepository <User> db, IAdminView view) { view.QuitView(); }