@page
@model MyPage.ChargeCash.DoneModel
@using Microsoft.AspNetCore.Http
@{
    ViewData["Title"] = "충전 완료";
    ViewData["LoggedInUserId"] = HttpContext.Session.GetString("LoggedInUserId");
    ViewData["LoggedIn"] = ViewData["LoggedInUserId"] != null;
    ViewData["ActivatedTabIndex"] = 1;
}


<div class="row" style="margin-top:20px">
    <div class="col-md-6">
        @Html.Partial("~/Views/MyPageTabs.cshtml")
        <h3>충전 완료</h3>
        <h4>@((ViewData["ChargedAmount"] as int?).Value.ToString("N0"))원 충전이 완료되었습니다.</h4>
        <hr />
        <h3>현재 잔액</h3>
        <h2 style="text-align:right">￦@((ViewData["UserTotalCash"] as double?).Value.ToString("N0"))</h2>
        <hr />
    </div>
</div>
<div>
    <a asp-page="/MyPage/ChargeCash/Index">돌아가기</a>
</div>