Ejemplo n.º 1
0
 public override Task <Device> Post(Device obj, CancellationToken token)
 {
     return(Client.PostDeviceAsync(new  DevicePostDto()
     {
         DeviceType = obj.DeviceType, Name = obj.Name
     }, token));
 }
Ejemplo n.º 2
0
 public override Task <Device> Post(Device obj, CancellationToken token)
 {
     obj.Customer = Customer;
     return(Client.PostDeviceAsync(obj, token));
 }