示例#1
0
        public void Remover(int id)
        {
            CargoDataBase db = new CargoDataBase();

            db.Remover(id);
        }
示例#2
0
        public List <CargoDTO> Listar()
        {
            CargoDataBase db = new CargoDataBase();

            return(db.Listar());
        }
示例#3
0
        public List <CargoDTO> Consultar(string nome)
        {
            CargoDataBase db = new CargoDataBase();

            return(db.Consultar(nome));
        }
示例#4
0
        public int Salvar(CargoDTO dto)
        {
            CargoDataBase db = new CargoDataBase();

            return(db.Salvar(dto));
        }