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