public void Save() { if (null != _authors) { StorageProvider.SaveToLocalStorage(Constants.Strings.AuthorsLibrary, _authors); if (null != OnAuthorsChanged) { OnAuthorsChanged(this, new EventArgs()); } } }
public void Update() { _authors = StorageProvider.LoadFromLocalStorage <List <Author> >(Constants.Strings.AuthorsLibrary); }
public AuthorsController() { _authors = StorageProvider.LoadFromLocalStorage <List <Author> >(Constants.Strings.AuthorsLibrary); }
public void Update() { _publishers = StorageProvider.LoadFromLocalStorage <List <Publisher> >(Constants.Strings.PublishersLibrary); }
public PublishersController() { _publishers = StorageProvider.LoadFromLocalStorage <List <Publisher> >(Constants.Strings.PublishersLibrary); }
public BookController() { _books = StorageProvider.LoadFromLocalStorage <List <Book> >(Constants.Strings.BooksLibrary); }
public void Update() { _books = StorageProvider.LoadFromLocalStorage <List <Book> >(Constants.Strings.BooksLibrary); }