Ejemplo n.º 1
0
        public void ActivateThing(ThingDescription td)
        {
            AssertInternetOfThings();
            AssertThingDescription(td);

            try
            {
                _thingRepository.ActivateThing(td.Id);
            }
            catch (Exception ex)
            {
                throw new ProvisioningException(EXCEPTION_THING, ex)
                      {
                          Stage = ProvisioningStage.ActivateThing
                      };
            }
        }