コード例 #1
0
        public ActionResult Revincular(int numeroRegistro, string codPlaca, string observacao)
        {
            N0203REGBusiness N0203REGBusiness = new N0203REGBusiness();
            DateTime         localDate        = DateTime.Now;

            if (!consultarAcesso())
            {
                return(this.Json(new { acesso = false }, JsonRequestBehavior.AllowGet));
            }
            else
            {
                bool retorno = N0203REGBusiness.Revincular(numeroRegistro.ToString(), codPlaca, this.CodigoUsuarioLogado, localDate.ToString(), observacao);
            }

            return(this.Json(new { retorno = true }, JsonRequestBehavior.AllowGet));
        }