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); } }
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); } }