public void Update(ElectricalDeviceType electricalDeviceType) { this.electricalDeviceTypeRepository.Update(electricalDeviceType); this.electricalDeviceTypeRepository.SaveChanges(); }
public void HardDelete(ElectricalDeviceType electricalDeviceType) { this.electricalDeviceTypeRepository.HardDelete(electricalDeviceType); this.electricalDeviceTypeRepository.SaveChanges(); }
public void Add(ElectricalDeviceType electricalDeviceType) { this.electricalDeviceTypeRepository.Add(electricalDeviceType); this.electricalDeviceTypeRepository.SaveChanges(); }