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)); }
public JsonResult OrganizationForTrainer(string email) { var x = _objeobjIOrganizationBAL.OrganizationAllForTrainerbyCultureBAL(CurrentCulture, email); return(Json(x, JsonRequestBehavior.AllowGet)); }