public RequestEditHardwareAction(CatalogHardwareViewModel hardware)
 {
     this.hardware = hardware;
 }
 public void UpdateHardware(CatalogHardwareViewModel result)
 {
 }
 public void RemoveHardware(CatalogHardwareViewModel result)
 {
 }
 public void AddHardware(CatalogHardwareViewModel result)
 {
 }
 public void UpdateHardware(CatalogHardwareViewModel result)
 {
     this.InvokeIfRequired(() =>
     {
         var hardware = this.hardwares.Where(s => s.Id == result.Id).First();
         var index = this.hardwares.IndexOf(hardware);
         this.hardwares[index] = result;
         this.ApplyHardwareFilter();
     });
 }
 public void AddHardware(CatalogHardwareViewModel result)
 {
     this.InvokeIfRequired(() =>
     {
         this.hardwares.Add(result);
         this.ApplyHardwareFilter();
     });
 }