コード例 #1
0
        public ObservableCollection <CategoryModel> GetCategories()
        {
            ObservableCollection <CategoryModel> categories = new ObservableCollection <CategoryModel>(CategoryAccess.GetCategories());

            return(categories);
        }
コード例 #2
0
 public BaseModel()
 {
     _categoryAccess = new CategoryAccess();
     _packageAccess  = new PackageAccess();
 }