コード例 #1
0
        public ActionResult LoginForTrainer(string returnUrl, string email)
        {
            // var dd = Crypto.CreatePasswordHash("almas");
            var            value = this._Office365UsersBAL.TMS_Setting_GetOffice365BAL();
            var            c     = _objeobjIOrganizationBAL.OrganizationAllForTrainerbyCultureBAL(CurrentCulture, email);
            List <DDlList> list  = (List <DDlList>)c;
            var            model = new LoginModel {
                ReturnUrl = returnUrl, isOffice365Enabled = value, Email = email, dDlList = list
            };

            return(View(model));
        }
コード例 #2
0
        public JsonResult OrganizationForTrainer(string email)
        {
            var x = _objeobjIOrganizationBAL.OrganizationAllForTrainerbyCultureBAL(CurrentCulture, email);

            return(Json(x, JsonRequestBehavior.AllowGet));
        }