public void DeleteDeviceType(DeviceType device)
 {
     devicetypeRepository.Delete(device);
 }
 public void UpdateDeviceType(DeviceType devicetype)
 {
     devicetypeRepository.Update(devicetype);
 }
 public void CreateDeviceType(DeviceType devicetype)
 {
     devicetypeRepository.Add(devicetype);
 }