Exemplo n.º 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);
        }
Exemplo n.º 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);
        }