diff --git a/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create.cshtml.cs b/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create.cshtml.cs index 3fd7972..613e87c 100644 --- a/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create.cshtml.cs +++ b/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create.cshtml.cs @@ -55,7 +55,7 @@ public IActionResult OnPost() HttpContext.Session.SetObjectAsJson("ClubBoard", ClubBoard); - return RedirectToPage("./Index"); + return RedirectToPage("./Create2"); } } } \ No newline at end of file diff --git a/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create2.cshtml b/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create2.cshtml index 863300f..14fa9e7 100644 --- a/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create2.cshtml +++ b/Clup-MemberShip/ClubMemberShip.Present/Pages/PageUser/ClubBoardManage/Create2.cshtml @@ -7,56 +7,66 @@
+ Create New +
++ @Html.DisplayNameFor(model => model.Student[0].Code) + | ++ @Html.DisplayNameFor(model => model.Student[0].Name) + | ++ @Html.DisplayNameFor(model => model.Student[0].Address) + | ++ @Html.DisplayNameFor(model => model.Student[0].DateOfBirth) + | ++ @Html.DisplayNameFor(model => model.Student[0].Grade) + | ++ @Html.DisplayNameFor(model => model.Student[0].Major) + | ++ @Html.DisplayNameFor(model => model.Student[0].Status) + | ++ |
---|---|---|---|---|---|---|---|
+ @Html.DisplayFor(modelItem => item.Code) + | ++ @Html.DisplayFor(modelItem => item.Name) + | ++ @Html.DisplayFor(modelItem => item.Address) + | ++ @Html.DisplayFor(modelItem => item.DateOfBirth) + | ++ @Html.DisplayFor(modelItem => item.Grade.Id) + | ++ @Html.DisplayFor(modelItem => item.Major.Code) + | ++ @Html.DisplayFor(modelItem => item.Status) + | ++ Edit | + Details | + Delete + | +