Exemplo n.º 1
0
 public LayerDto[] Invoke()
 {
     return(_mapData.GetAllActiveLayers(WorkspaceId).Select(layer => new LayerDto()
     {
         Id = layer.Id,
         Name = layer.Name,
         Description = layer.Source.Description,
         Links = _resourceLinksGenerator.GenerateResourceLinks(WorkspaceId, layer.Id)
     }).ToArray());
 }