예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
 public void ProcessAction(DealUpdatedEvent eventObject)
 {
     this.AppendInfoLog(string.Format("Affaire id:'{0}' mise à jour", eventObject.DealId));
 }