public ActionResult EndBattle(int battleID) { var battle = battleRepository.GetById(battleID); battleService.EndBattle(battle); return(View()); }