标签:
AccountControl.cs
private IAccountService _accountService { get; set; }
#region 检测账户是否存在 public ActionResult CheckAccountIfExist(string Acc_account) { if (_accountService.GetByAccount(Acc_account) != null) { JsonResult["account_exist"] = true; } else { JsonResult["account_exist"] = false; } return Json(JsonResult); } #endregion
标签:
原文地址:http://www.cnblogs.com/wiming/p/4213598.html