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)); } }