public DeviceController(Repository.IDeviceRepository repository)
 {
     this._repository = repository;
 }