示例#1
0
 public void Update(ElectricalDeviceModel electricalDeviceModel)
 {
     this.electricalDeviceModelRepository.Update(electricalDeviceModel);
     this.electricalDeviceModelRepository.SaveChanges();
 }
示例#2
0
 public void HardDelete(ElectricalDeviceModel electricalDeviceModel)
 {
     this.electricalDeviceModelRepository.HardDelete(electricalDeviceModel);
     this.electricalDeviceModelRepository.SaveChanges();
 }
示例#3
0
 public void Add(ElectricalDeviceModel electricalDeviceModel)
 {
     this.electricalDeviceModelRepository.Add(electricalDeviceModel);
     this.electricalDeviceModelRepository.SaveChanges();
 }