Exemple #1
0
        public ActionResult DeleteWord(string languageId, string word)
        {
            if (!String.IsNullOrWhiteSpace(word))
            {
                _autoSuggestRepository.DeleteWord(languageId, word);
            }

            return(RedirectToAction("Index", new { languageId }));
        }