Exemple #1
0
        private void AddProject()
        {
            var viewModel = new NewProjectViewModel();

            if (_dialogService.ShowDialog(viewModel) == true)
            {
                Projects.Add(_repository.GetProjectDto(viewModel.Project.Id));
            }
        }
        private void AddProject()
        {
            var viewModel = new NewProjectViewModel();

            if (_dialogService.ShowDialog(viewModel) == true)
            {
                Projects.Add(_repository.GetProjectDto(viewModel.Project.Id));
            }
        }