Ejemplo n.º 1
0
        public IActionResult ActivateDictionaryObject(int id, int v)
        {
            var result = _dictionaryService.ActiveDictionaryObject(id);

            if (result)
            {
                return(RedirectToAction("DictionariesList", "Admin", new { i = v, activ = false }));
            }
            return(RedirectToAction("Index", "Home"));
        }