public HttpResponseMessage Get() { IBattleOutcome battle = battleRepository.CurrentBattle(); return(Request.CreateResponse(HttpStatusCode.OK, battle)); }
public ActionResult Index() { ViewBag.Title = "Home"; ViewBag.CurrentBattle = battleRepository.CurrentBattle(); return(View()); }
public IBattleOutcome GetMostRecentBattle() { IBattleOutcome battle = battleRepository.CurrentBattle(); return(battle); }