Пример #1
0
        public async Task <IActionResult> Delete(SubCategory subCategory)
        {
            await _subCategoryService.DeleteAsync(subCategory);

            return(RedirectToAction(nameof(Index)));
        }