// Check Email Existing public ActionResult CheckEmail(string email) { if (email != null) { var check = CommonFacade.IsUserEmailExists(email); if (check == true) { return(Json(new { result = "ERROR" })); } else { return(Json(new { result = "OK" })); } } return(Json(new { result = "ERROR" })); }