示例#1
0
 //Delete file content and rewrite for books
 public void Update_Text_File()
 {
     if (Lists.Lib.Count > 0)
     {
         adminCarti.AdaugaCarte(Lists.Lib[0], false);
         for (int i = 1; i < Lists.Lib.Count; i++)
         {
             adminCarti.AdaugaCarte(Lists.Lib[i], true);
         }
     }
     else
     {
         adminCarti.deleteBooksFile();
     }
 }