예제 #1
0
        public async Task <ActionResult> AgreeMentorAgreement()
        {
            ScUsr scUsr = await _scUsrService.SelectMentorInfo(Session[Global.LoginID].ToString());

            scUsr.AgreeYn = "Y";

            _scUsrService.ModifyScUsr(scUsr);

            await _scUsrService.SaveDbContextAsync();

            Session[Global.AgreeYn] = "Y";

            return(RedirectToAction("Index", "Main"));
        }