예제 #1
0
        public ProjectCategoryModel()
        {
            _projectManager  = new ProjectManager(GKSFactory.GetProjectManager());
            _categoryManager = new CategoryManager(GKSFactory.GetCategoryManager());

            _allCategories = _categoryManager.GetCategories().ToList();

            AddCategoryButtonClicked    = new AddCategoryInProjet(this);
            RemoveCategoryButtonClicked = new RemoveCategoryFromProjet(this);
        }
예제 #2
0
        public ProjectCategoryModel()
        {
            _projectManager = new ProjectManager(GKSFactory.GetProjectManager());
            _categoryManager = new CategoryManager(GKSFactory.GetCategoryManager());

            _allCategories = _categoryManager.GetCategories().ToList();

            AddCategoryButtonClicked = new AddCategoryInProjet(this);
            RemoveCategoryButtonClicked = new RemoveCategoryFromProjet(this);
        }