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

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

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

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