コード例 #1
0
        public async Task <IActionResult> GetCategories()
        {
            var categories = await _tutorialService.GetTutorialCategoriesAsync();

            return(Ok(_mapper.Map <TutorialCategoryListResponse>(categories)));
        }