Пример #1
0
        public async Task <IActionResult> Index()
        {
            var res = await categoryService.GetTreeListAsync();

            return(View(res));
        }
        public async Task <List <CategoryTreeListDto> > GetTreeListAsync()
        {
            await capPublisher.PublishAsync("WorkFlowStatusChanged", DateTime.Now);

            return(await categoryService.GetTreeListAsync());
        }