C# Class GestUAB.Models.ColaboradorManager

显示文件 Open project: GestUAB/GestUAB

Public Methods

Method Description
CpfExists ( string cpf ) : bool
Delete ( System.Guid id ) : bool
Get ( System.Guid id ) : Colaborador
GetAll ( ) : IEnumerable
Insert ( Colaborador colaborador ) : Colaborador
Update ( Colaborador colaborador ) : bool

Method Details

CpfExists() public static method

public static CpfExists ( string cpf ) : bool
cpf string
return bool

Delete() public static method

public static Delete ( System.Guid id ) : bool
id System.Guid
return bool

Get() public static method

public static Get ( System.Guid id ) : Colaborador
id System.Guid
return Colaborador

GetAll() public static method

public static GetAll ( ) : IEnumerable
return IEnumerable

Insert() public static method

public static Insert ( Colaborador colaborador ) : Colaborador
colaborador Colaborador
return Colaborador

Update() public static method

public static Update ( Colaborador colaborador ) : bool
colaborador Colaborador
return bool