public ActionResult GetCash() { List <UserCash> playerCash = new List <UserCash>(); playerCash = _dal.GetCashAmounts(); var jsonResult = Json(playerCash, JsonRequestBehavior.AllowGet); return(jsonResult); }
public ActionResult Results() { List <UserCash> model = _dal.GetCashAmounts(); return(View("Results", model)); }