Example #1
0
 /// <summary>
 /// Updates the gateway async.
 /// </summary>
 /// <returns>The gateway async.</returns>
 /// <param name="updated">Updated.</param>
 public async Task <Gateway> UpdateGatewayAsync(Gateway updated)
 {
     return(await Update(updated, "/gateways/" + updated.GatewayEUI));
 }
Example #2
0
 /// <summary>
 /// Creates the gateway async.
 /// </summary>
 /// <returns>The gateway async.</returns>
 /// <param name="template">Template.</param>
 public async Task <Gateway> CreateGatewayAsync(Gateway template)
 {
     return(await Create(template, "/gateways"));
 }