Ejemplo n.º 1
0
        [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)));
        }
Ejemplo n.º 2
0
 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));
 }