Exemplo n.º 1
0
 public void novocarrinho(int idUser)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     cg.novocarrinho(idUser);
 }
Exemplo n.º 2
0
 public void setfalse(int idcar)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     cg.setfalse(idcar);
 }
Exemplo n.º 3
0
 public int getidcarrinho(int idUser)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     return cg.getidcarrinho(idUser);
 }
Exemplo n.º 4
0
 public int ncarrinhos(int idUser)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     return cg.ncarrinhos(idUser);
 }
Exemplo n.º 5
0
 public DataTable getElementosCarrinho(int idUser)
 {
     DAL.CarrinhoGateway cg =new DAL.CarrinhoGateway();
     return cg.getElementos(idUser);
 }
Exemplo n.º 6
0
 public void eliminarelementosCarrinho(int idUser)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     cg.removerelementosCarrinho(idUser);
 }
Exemplo n.º 7
0
 public void eliminarelementoCarrinho(int idUser, int idCar, string nome, string edicao)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     cg.removerelementoCarrinho(idUser, idCar, nome, edicao);
 }
Exemplo n.º 8
0
 public void atualizaquantidadeproduto(int idUser, int idCar, string nome, string edicao, int novaqtdd)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     cg.atualizarquantidadeproduto(idUser, idCar, nome, edicao, novaqtdd);
 }
Exemplo n.º 9
0
 public void addelementoCarrinho(int idUser, int idCar, string nome, string edicao,int quantidade)
 {
     DAL.CarrinhoGateway cg = new DAL.CarrinhoGateway();
     cg.addelementocarrinho(idUser, idCar, nome, edicao, quantidade);
 }