C# Class Loja.DAO.CarrinhoDAO

Datei anzeigen Open project: alura-cursos/webservices-rest-com-webapi Class Usage Examples

Public Methods

Method Description
Adiciona ( Carrinho carrinho ) : void
Busca ( long id ) : Carrinho
Remove ( long id ) : void

Private Methods

Method Description
CarrinhoDAO ( ) : System

Method Details

Adiciona() public method

public Adiciona ( Carrinho carrinho ) : void
carrinho Loja.Models.Carrinho
return void

Busca() public method

public Busca ( long id ) : Carrinho
id long
return Loja.Models.Carrinho

Remove() public method

public Remove ( long id ) : void
id long
return void