Inheritance: IModifiable
 public ActionResult Declined(Challenge model)
 {
     return View();
 }
        public ActionResult Make(CreateChallengeViewModel model)
        {
            model.ChallengerId = CurrentUser.Id;

            var opponent = UnitOfWork.Find<ChessUser>(model.OpponentId);

            var challenge = new Challenge()
            {
                ChallengingPlayer = CurrentUser,
                DarkPlayer = model.IsPlayerDark ? CurrentUser : opponent,
                LightPlayer = !model.IsPlayerDark ? CurrentUser : opponent,
                DateTime = DateTime.Now,
                Title = model.ChallengeTitle
            };

            UnitOfWork.Add(challenge);
            UnitOfWork.Commit();

            return RedirectToAction("Make");
        }
 public ActionResult Accepted(Challenge model)
 {
     return View();
 }