예제 #1
0
        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);
        }
예제 #2
0
 public void ProcessAction(ProjectCreatedEvent eventObject)
 {
     this.AppendInfoLog(string.Format("Project id:'{0}' créé", eventObject.ProjectId));
 }