Esempio n. 1
0
 public Library()
 {
     Books = new List <Book>();
     try
     {
         BooksToXML.Deserialize(this);
         Books[0].setCounter(Books.Last <Book>().Id);
     }catch (Exception)
     {
     }
 }
Esempio n. 2
0
 public bool Save()
 {
     BooksToXML.Serialize(this);
     return(true);
 }