예제 #1
0
        public async Task <IActionResult> DeleteCategory([FromRoute] Guid id)
        {
            var deleted = await _tutorialService.DeleteTutorialCategoryAsync(id);

            if (deleted)
            {
                return(NoContent());
            }
            return(NotFound());
        }