Skip to content

Instantly share code, notes, and snippets.

@ztirom

ztirom/AddDevice Secret

Last active April 22, 2016 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztirom/83712e91601d81a12f6f99a7fff70d5b to your computer and use it in GitHub Desktop.
Save ztirom/83712e91601d81a12f6f99a7fff70d5b to your computer and use it in GitHub Desktop.
FirstStepsWithAzureIoTHub
public async Task AddDevice(string id) {
await MyDevice.AddDeviceAsync(id);
return RedirectToAction("Index", "Home");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment