public IActionResult AddSubObj(string name, int ID)
        {
            if (String.IsNullOrEmpty(name))
            {
                return(RedirectToAction("Index", "Home"));
            }

            var result = _dictionaryService.AddDictionarySubObject(ID, name);

            if (result)
            {
                return(RedirectToAction("SubObjList", "Admin", new { i = ID, activ = true }));
            }

            return(RedirectToAction("Index", "Home"));
        }