public RegistrationResponse RegisterDevice(string ChannelUri, short DeviceType) { // Get the body. This will be the devices channel URI RegistrationModel model = new RegistrationModel(); string pinCode = model.SaveDeviceRegistration(ChannelUri); return new RegistrationResponse() { PinCode = pinCode }; }