Пример #1
0
        public async System.Threading.Tasks.Task <ActionResult> Checksapcode(string sapcode, string Previoussapcode)
        {
            if (sapcode == Previoussapcode)
            {
                return(Json(true, JsonRequestBehavior.AllowGet));
            }
            bool check = Commonhelper.Checksapcode(sapcode);

            if (check)
            {
                return(Json(false, JsonRequestBehavior.AllowGet));
            }
            else
            {
                return(Json(true, JsonRequestBehavior.AllowGet));
            }
        }