public string DespesasCadastradas(int codVigencia, int codUser) { DespesaBLL desBLL = new DespesaBLL(); ViewBag.StatusDespesa = desBLL.ObterStatusDespesa().ToString(); ViewBag.listaFormaPag = desBLL.ObterFormaPag().ToString(); return(desBLL.DespesasCadastradas(codVigencia, codUser).ToString()); }
public string CarregarDespesa(int codDespesa) { DespesaBLL desBLL = new DespesaBLL(); ViewBag.StatusDespesa = desBLL.ObterStatusDespesa().ToString(); ViewBag.listaFormaPag = desBLL.ObterFormaPag().ToString(); return(desBLL.CarregarDespesa(codDespesa).ToString()); }
public ActionResult EditarVigencia() { VigenciaBLL vigBLL = new VigenciaBLL(); MLL.Vigencia vigencia = vigBLL.ObterPorId(Convert.ToInt32(Request.QueryString["codigo"])); DespesaBLL desBLL = new DespesaBLL(); ViewBag.StatusDespesa = desBLL.ObterStatusDespesa().ToString(); ViewBag.listaFormaPag = desBLL.ObterFormaPag().ToString(); return(View(vigencia)); }