예제 #1
0
        public ActionResult EditarFormaPag()
        {
            FormasPagamentoBLL formaBLL = new FormasPagamentoBLL();

            MLL.FormaPagamento forma = formaBLL.ObterPorId(formaBLL.DescriptografaID(Request.QueryString["codigo"]));

            return(View(forma));
        }
예제 #2
0
        public string ExcluirFormaPagamento(int codigo)
        {
            FormasPagamentoBLL formaBLL = new FormasPagamentoBLL();

            MLL.FormaPagamento forma = formaBLL.ObterPorId(codigo);

            return(formaBLL.ExcluirFormaPag(forma).ToString());
        }