Esempio n. 1
0
        private void StoreThingInDatabase(Guid id, string description, string area)
        {
            var thing = new Thing
            {
                Description = description,
                Active      = false
            };

            if (!_thingRepository.ThingExists(id))
            {
                _thingRepository.InsertThing(thing, id, area);
            }
        }