public ActionResult DeletarPagamento(int id, IFormCollection collection)
        {
            Models.Data.PagamentoData pd = new Models.Data.PagamentoData();
            pd.DeletarPagamento(id);

            return(RedirectToAction(nameof(ListaPagamento)));
        }
        public ActionResult EditarPagamento(Models.Pagamento collection)
        {
            Models.Data.PagamentoData pd = new Models.Data.PagamentoData();
            pd.EditarPagamento(collection);

            return(RedirectToAction(nameof(ListaPagamento)));
        }
        // GET: Pagamento/Delete/5
        public ActionResult DeletarPagamento(int id)
        {
            Models.Data.PagamentoData pd = new Models.Data.PagamentoData();

            return(View(pd.DetalhesPagamento(id)));
        }
        public ActionResult ListaPagamento()
        {
            Models.Data.PagamentoData pd = new Models.Data.PagamentoData();

            return(View(pd.ListaPagamento()));
        }