Added dialog system

Added surface delete
This commit is contained in:
Robert Beekman committed 2019-10-26 21:54:25 +02:00
1 parent 5cdde6e402
commit ce383468ea
24 files changed
+470 -96

No files matched your search

@@ -122,10 +122,11 @@ namespace Artemis.Core.Services.Storage
lock (_surfaceConfigurations)
{
var entity = surfaceConfiguration.SurfaceEntity;
surfaceConfiguration.Destroy();
_surfaceConfigurations.Remove(surfaceConfiguration);
_surfaceRepository.Remove(surfaceConfiguration.SurfaceEntity);
_surfaceRepository.Remove(entity);
_surfaceRepository.Save();
}
}