Beispiel #1
0
        public JsonResult confirmarRecebimento(string NUMREG, string PLACA)
        {
            PLACA = PLACA.Replace("-", "");
            if (NUMREG == "" || PLACA == "")
            {
                bool campos = true;
                return(this.Json(new { campos }, JsonRequestBehavior.AllowGet));
            }
            N0203REGBusiness N0203REGBusiness = new N0203REGBusiness();
            var resposta = N0203REGBusiness.ConfirmarRecebimento(NUMREG, PLACA.ToUpper(), Convert.ToInt64(this.CodigoUsuarioLogado));

            return(this.Json(new { resposta }, JsonRequestBehavior.AllowGet));
        }