示例#1
0
        public ActionResult InsttMemberRegistAction(InsttT insttT)
        {
            string userId = insttT.UserId;
            string userSeCode = "AC007003"; //기관사용자

            //등록자, 수정자 설정
            insttT.RegisterId = userId;
            insttT.RegisterSeCode = userSeCode;
            insttT.UpdusrId = userId;
            insttT.UpdusrSeCode = userSeCode;

            bool isSuccess = false;
            string strMessage = "";

            try
            {
                //new InsttBiz().JoinInsttMember(insttT);

                //회원가입 이메일 발송
                new EmailSendBiz().SendJoinMember(userId, userSeCode, insttT.EmailAdres);

                isSuccess = true;
            }
            catch (Exception ex)
            {
                strMessage = ex.Message;
            }
            return Json(new { Success = isSuccess, Message = strMessage }, JsonRequestBehavior.AllowGet);
        }
示例#2
0
        public ActionResult InsttMemberRegist(string companyNm, string bizrno)
        {
            InsttT insttT = new InsttT();
            insttT.InsttNm = companyNm;
            insttT.Bizrno = bizrno;

            //지역전화번호[AC016000] 공통코드 조회
            IList<CmmnCodeT> telnoList = new CommonBiz().SelectCmmnCodeList("AC016000");

            //핸드폰번호[AC017000] 공통코드 조회
            IList<CmmnCodeT> mbtlnumList = new CommonBiz().SelectCmmnCodeList("AC017000");

            //이메일종류[AC018000] 공통코드 조회
            IList<CmmnCodeT> emailList = new CommonBiz().SelectCmmnCodeList("AC018000");

            //기관구분코드[AC025000] 공통코드 조회
            IList<CmmnCodeT> insttSeCodeList = new CommonBiz().SelectCmmnCodeList("AC025000");

            JoinMembPageT joinMembPageT = new JoinMembPageT();
            joinMembPageT.TelnoList = telnoList;
            joinMembPageT.MbtlnumList = mbtlnumList;
            joinMembPageT.EmailList = emailList;
            joinMembPageT.InsttSeCodeList = insttSeCodeList;
            joinMembPageT.InsttT = insttT;

            return View(joinMembPageT);
        }