public void ProcessAction(DealUpdatedEvent eventObject) { if (CheckIfCurrentDeal(eventObject)) return; var deal = this.dealRepository.FindById(eventObject.DealId); var result = this.Map(deal); this.dealView.SetDealViewModel(result); }
public void ProcessAction(DealUpdatedEvent eventObject) { Mapper.CreateMap<Deal, DealItemViewModel>(); var deal = this.dealRepository.FindById(eventObject.DealId); var result = Mapper.Map<Deal, DealItemViewModel>(deal); this.navigationView.UpdateDeal(result); }
public void ProcessAction(DealUpdatedEvent eventObject) { this.AppendInfoLog(string.Format("Affaire id:'{0}' mise à jour", eventObject.DealId)); }