public List <BlockListItem> GetBlocks()
 {
     return(_blockManager.GetBlocks().Select(x => (BlockListItem)x).ToList());
 }