예제 #1
0
        public List <FPamentoDTO> Listar()
        {
            FPagamentoDataBase DB       = new FPagamentoDataBase();
            List <FPamentoDTO> folhapag = DB.Listar();

            return(folhapag);
        }
예제 #2
0
        public int Salvar(FPamentoDTO folhapag)
        {
            FPagamentoDataBase DB = new FPagamentoDataBase();
            int id = DB.Salvar(folhapag);

            return(id);
        }
예제 #3
0
        public List <FPamentoDTO> Consultar(string consult)
        {
            FPagamentoDataBase db = new FPagamentoDataBase();

            return(db.Consultar(consult));
        }
예제 #4
0
        public void Remover(int idfolhapag)
        {
            FPagamentoDataBase DB = new FPagamentoDataBase();

            DB.Remover(idfolhapag);
        }