public ActionResult DeleteWord(string languageId, string word) { if (!String.IsNullOrWhiteSpace(word)) { _autoSuggestRepository.DeleteWord(languageId, word); } return(RedirectToAction("Index", new { languageId })); }