Exemplo n.º 1
0
        public void Remover(int id)
        {
            CargoDataBase db = new CargoDataBase();

            db.Remover(id);
        }
Exemplo n.º 2
0
        public List <CargoDTO> Listar()
        {
            CargoDataBase db = new CargoDataBase();

            return(db.Listar());
        }
Exemplo n.º 3
0
        public List <CargoDTO> Consultar(string nome)
        {
            CargoDataBase db = new CargoDataBase();

            return(db.Consultar(nome));
        }
Exemplo n.º 4
0
        public int Salvar(CargoDTO dto)
        {
            CargoDataBase db = new CargoDataBase();

            return(db.Salvar(dto));
        }