public IActionResult ChangePassword() { Base_User base_User = _authenticationService.getCurrentUser(); ChangePasswordModel model = new ChangePasswordModel(); model.Accont = base_User?.Account; return(View(model)); }
public IActionResult Index() { if (_adminAuthService.getCurrentUser() == null) { Redirect(Url.RouteUrl("publicLogin")); } var user = _adminAuthService.getCurrentUser(); ViewBag.CurrentOrder = _orderDetailService.userCurrentOrder(user.Id); if (ViewBag.CurrentOrder != null) { OrderDetail orderDetail = ViewBag.CurrentOrder; ViewBag.OrderSeat = _librarySeatService.GetById(orderDetail.LibrarySeatId); } return(View(user)); }
public IActionResult Index() { var user = _adminAuthService.getCurrentUser(); return(View(user)); }