public void ProcessAction(HardwareUpdatedEvent eventObject)
 {
     this.AppendInfoLog(string.Format("Matériel id:'{0}' mis à jour", eventObject.HardwareId));
 }
        public void ProcessAction(HardwareUpdatedEvent eventObject)
        {
            if (CheckIfCurrentCatalog(eventObject)) return;

            var catalog = this.repository.FindById(eventObject.CatalogId);
            var hardware = catalog.Hardwares.Where(x => x.Id == eventObject.HardwareId).FirstOrDefault();

            var result = Map(eventObject.CatalogId, hardware);

            this.catalogView.UpdateHardware(result);
        }