public void ProcessAction(ProjectCreatedEvent eventObject) { Mapper.CreateMap<Project, ProjectItemViewModel>(); var project = this.projectRepository.FindById(eventObject.ProjectId); var result = Mapper.Map<Project, ProjectItemViewModel>(project); this.navigationView.AddProject(eventObject.DealId, result); this.navigationView.SelectProject(result.Id); }
public void ProcessAction(ProjectCreatedEvent eventObject) { this.AppendInfoLog(string.Format("Project id:'{0}' créé", eventObject.ProjectId)); }