http://deanhume.com/Home/BlogPost/mvc-3-and-remote-validation/51     <---- 
http://davidhayden.com/blog/dave/archive/2011/01/04/ASPNETMVC3RemoteValidationTutorial.aspx   <----
http://www.cnblogs.com/serafin/archive/2011/01/25/1944848.html

publicActionResult CheckUserAccountExists(stringUserAccount)
{
    string[] existsUsers = { "youguanbumen", "wodanwojun"};
    boolexists = string.IsNullOrEmpty(existsUsers.FirstOrDefault(u => u.ToLower() == UserAccount.ToLower())) == false;
    returnJson(!exists, JsonRequestBehavior.AllowGet);
}
-------------------------------------------------------------------------------
public ActionResult TagExists(string Name)
{
var tag = TagRepository.FindAll().Where(i => i.Name == Name).Count();
return Json(tag==0, JsonRequestBehavior.AllowGet);
}