Пример #1
0
        private async Task UpdateMapLayer(MapLayerUpdateData data)
        {
            switch (data.Type)
            {
            case MapLayerUpdateType.Update:
                await _mapData.UpdateLayer(data.WorkspaceId, data.MapLayerId);

                break;

            case MapLayerUpdateType.Delete:
                await _mapData.DeleteLayer(data.WorkspaceId, data.MapLayerId);

                break;
            }
        }