/// <summary> /// Creates a new instance of LibraryViewModel /// </summary> public LibraryViewModel() { LibraryViewService.vm = this; LibraryViewService service = LibraryViewService.Instance; Dispatcher = Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher; db.CreateDB(); LoadLibrary(); }