/// <summary>
 /// Конструктор по умолчанию
 /// </summary>
 public PackageAccess()
 {
     if (!File.Exists(DOCUMENT_NAME))
     {
         PackageAccess.FormatHeadXmlDoc();
     }
 }
Exemple #2
0
        public ObservableCollection <PackageModel> GetPackages()
        {
            ObservableCollection <PackageModel> packages = new ObservableCollection <PackageModel>(PackageAccess.GetPackages());

            return(packages);
        }
Exemple #3
0
 public BaseModel()
 {
     _categoryAccess = new CategoryAccess();
     _packageAccess  = new PackageAccess();
 }