コード例 #1
0
        public ActionResult QuicklyRegistrate(string email)
        {
            BussinessJsonResult jsonResult;

            if (GeneralUtilities.EmailIsValid(email))
            {
                jsonResult = um.QuicklyRegister(email);
            }
            else
            {
                jsonResult = new BussinessJsonResult
                {
                    Status  = 0,
                    Message = "Your Email Is Not Valid Email! Please Write Correct Email!"
                };
            }

            return(Json(new { status = jsonResult.Status, message = jsonResult.Message }, JsonRequestBehavior.AllowGet));
        }