public ActionResult Play()
        {
            var entity = rep.GetRandomSentence();

            var model = new UnscrambleGameViewmodel(entity);

            return View(model);
        }
 public ActionResult Result(UnscrambleGameViewmodel model)
 {
     var result = new UnscrambleGameResultViewModel(rep.GetSentence(model.Id),model.AnsweredSentence);
     return View(result);
 }
 public ActionResult Play(UnscrambleGameViewmodel model)
 {
     return RedirectToAction("Result", model);
 }