public IActionResult OnGetDeny(long id)
        {
            TblEmployeeRequestInterviewSession TblEmployeeRequestInterviewSession2 = _context.TblEmployeeRequestInterviewSessions.Find(id);

            if (TblEmployeeRequestInterviewSession2 != null)
            {
                string uid = HttpContext.Session.GetString("uid");
                if (uid == null)
                {
                    return(RedirectToPage("../Index"));
                }
                TblEmployeeRequestInterviewSession2.FldEmployeeRequestPrimaryAcceptionId = 2;
                _context.TblEmployeeRequestInterviewSessions.Update(TblEmployeeRequestInterviewSession2);
                _context.SaveChanges();
            }
            return(RedirectToPage("Index"));
        }
        public IActionResult OnGetPoint(long id, int point, string eid)
        {
            TblEmployeeRequestInterviewSession TblEmployeeRequestInterviewSession2 = _context.TblEmployeeRequestInterviewSessions.Find(id);

            if (TblEmployeeRequestInterviewSession2 != null)
            {
                string uid = HttpContext.Session.GetString("uid");
                if (uid == null)
                {
                    return(RedirectToPage("../Index"));
                }
                TblEmployeeRequestInterviewSession2.FldEmployeeRequestInterviewSessionResultPoint = point;
                TblEmployeeRequestInterviewSession2.FldEmployeeRequestInterviewSessionDate        = DateTime.Now;
                _context.TblEmployeeRequestInterviewSessions.Update(TblEmployeeRequestInterviewSession2);

                TblEmployeeRequestEmployee TblEmployeeRequestEmployee = _context.TblEmployeeRequestEmployees.Find(eid);
                TblEmployeeRequestEmployee.FldEmployeeRequestEmployeeResultPoint += point;
                _context.TblEmployeeRequestEmployees.Update(TblEmployeeRequestEmployee);

                _context.SaveChanges();
            }
            return(RedirectToPage("Index"));
        }