Ejemplo n.º 1
0
 //update word in all words list
 public ActionResult UpdateWord(String oldWord, String newWord)
 {
     try
     {
         WordsService.UpdateWord(oldWord, newWord);
         ViewBag.Updated = true;
         Task.Run(() => LogActivities.LogWordUpdated(newWord));
     }
     catch
     {
         ViewBag.Updated = false;
     }
     return(View("Index"));
 }