Exemple #1
0
        public async Task <ApiResult <List <ChainResult> > > List()
        {
            var result = await _chainService.GetAllChains();

            return(new ApiResult <List <ChainResult> >(result));
        }
Exemple #2
0
        public ApiResult <List <ChainResult> > List()
        {
            var result = _chainService.GetAllChains();

            return(new ApiResult <List <ChainResult> >(result));
        }