public ActionResult DeleteSubcategory(int id)
        {
            var categoryId = _repo.GetParentCategoryId(id);
            var result     = _repo.DeleteContentSubcategory(id);

            if (result == DbRepoStatusCode.NotFound)
            {
                return(HttpNotFound());
            }

            return(RedirectToAction("Edit", "ContentCategories", new { id = categoryId }));
        }