public void Update(ElectricalDeviceModel electricalDeviceModel) { this.electricalDeviceModelRepository.Update(electricalDeviceModel); this.electricalDeviceModelRepository.SaveChanges(); }
public void HardDelete(ElectricalDeviceModel electricalDeviceModel) { this.electricalDeviceModelRepository.HardDelete(electricalDeviceModel); this.electricalDeviceModelRepository.SaveChanges(); }
public void Add(ElectricalDeviceModel electricalDeviceModel) { this.electricalDeviceModelRepository.Add(electricalDeviceModel); this.electricalDeviceModelRepository.SaveChanges(); }