Пример #1
0
        public IActionResult GetAll()
        {
            IList <Block> blocks = NodeService.GetAllBlocks();

            return(Ok(blocks.Select(b => b.ToContract()).ToList()));
        }