//Obter todos os registros public List <Pagamento> GetAll() { return(dal.GetAll()); }
// GET: Sessao/Create public ActionResult Create() { ViewBag.ClienteId = new SelectList(_clienteDal.GetAll(), "Id", "Nome"); ViewBag.FormaPagamentoId = new SelectList(_pagamentoDal.GetAll(), "Id", "Descricao"); return(View()); }