[HttpPost] // POST: /checkout/IsEmailKnown public ActionResult IsEmailKnown() { IsEmailKnownResponse result = new IsEmailKnownResponse(); string email = Request.Form["email"]; CustomerAccount act = MTApp.MembershipServices.Customers.FindByEmail(email); if (act != null) { if (act.Bvin != string.Empty) { result.success = "1"; } } return(new PreJsonResult(MerchantTribe.Web.Json.ObjectToJson(result))); }
public ActionResult IsEmailKnown() { IsEmailKnownResponse result = new IsEmailKnownResponse(); string email = Request.Form["email"]; CustomerAccount act = MTApp.MembershipServices.Customers.FindByEmail(email); if (act != null) { if (act.Bvin != string.Empty) { result.success = "1"; } } return new PreJsonResult(MerchantTribe.Web.Json.ObjectToJson(result)); }