C# Class Projeto4_Junior.Banco.PersistenciaServico

Inheritance: IBancoDadosServico
显示文件 Open project: sudorafa/salao_

Public Methods

Method Description
AlterarServico ( Servico servico, String idServicoParaServico ) : void
BuscarServico ( int idServico ) : Servico
CadastrarServico ( Servico servico ) : void
ListarServico ( String busca ) : ArrayList
RemoverServico ( String Descricao ) : void
VerificaExistenciaServico ( String Descricao ) : bool

Method Details

AlterarServico() public method

public AlterarServico ( Servico servico, String idServicoParaServico ) : void
servico Projeto4_Junior.Modelo.Servico
idServicoParaServico String
return void

BuscarServico() public method

public BuscarServico ( int idServico ) : Servico
idServico int
return Projeto4_Junior.Modelo.Servico

CadastrarServico() public method

public CadastrarServico ( Servico servico ) : void
servico Projeto4_Junior.Modelo.Servico
return void

ListarServico() public method

public ListarServico ( String busca ) : ArrayList
busca String
return System.Collections.ArrayList

RemoverServico() public method

public RemoverServico ( String Descricao ) : void
Descricao String
return void

VerificaExistenciaServico() public method

public VerificaExistenciaServico ( String Descricao ) : bool
Descricao String
return bool