Ejemplo n.º 1
0
        public void TestGetProject()
        {
            //Arrange
            var unit = AdminProjectsController.GetProjectsItemList(new UnityOfWork(new ProjectTracerEntities()));
            //Act

            //Assert
        }
        private void LoadProjects()
        {
            try
            {
                AdminProjectsView.Items.Clear();

                AdminProjectsController.GetProjectsItemList(Unit).ForEach(item => AdminProjectsView.Items.Add(item));
            }
            catch (Exception)
            {
                MessageBox.Show("Error loading the projects, please try again later");
            }
        }