//public ActionResult GetVerSion(string Stringurl) //{ // string Build = ""; // Assembly assembly = Assembly.LoadFrom(Stringurl); // Version ver = assembly.GetName().Version; // Build = ver.Build.ToString(); // return Json(Build, JsonRequestBehavior.AllowGet); //} #region Login action public ActionResult TestPerformance() { TestPerformanceModel model = new TestPerformanceModel(); model.Loop = 100; return(View(model)); }
//[HttpPost] public ActionResult doTestPerformace(TestPerformanceModel model) { LoginModel _LoginModel = new LoginModel(); var userName = model.UserName; var password = model.PassWord; var passwordEncrypt = string.Empty; passwordEncrypt = EncryptUtil.MD5(password);//mã hoá giống bản 7 model.IsSusscess = true; if (LoginValidate(userName, passwordEncrypt, _LoginModel.GoogleMail, _LoginModel.GoogleProfileName, _LoginModel.IsGoogleSign, out _LoginModel)) { model.IsSusscess = true; } else { model.IsSusscess = false; } return(Json(model)); }