C# Class DAL.OrgHandler

Inheritance: IOrgHandler
Exibir arquivo Open project: GHY-ORG/Firewood

Public Methods

Method Description
Create ( Org org ) : bool
Delete ( System.Guid orgid ) : bool
GetAllOrg ( int n, int page ) : List
GetOrgByID ( System.Guid orgid ) : Org
GetOrgByName ( string orgname ) : Org
GetOrgCount ( ) : int
OrgNameRegistered ( string orgname ) : bool
Update ( Org org ) : bool
UpdateLoginTime ( string orgname ) : bool

Method Details

Create() public method

public Create ( Org org ) : bool
org DataSource.Models.Org
return bool

Delete() public method

public Delete ( System.Guid orgid ) : bool
orgid System.Guid
return bool

GetAllOrg() public method

public GetAllOrg ( int n, int page ) : List
n int
page int
return List

GetOrgByID() public method

public GetOrgByID ( System.Guid orgid ) : Org
orgid System.Guid
return DataSource.Models.Org

GetOrgByName() public method

public GetOrgByName ( string orgname ) : Org
orgname string
return DataSource.Models.Org

GetOrgCount() public method

public GetOrgCount ( ) : int
return int

OrgNameRegistered() public method

public OrgNameRegistered ( string orgname ) : bool
orgname string
return bool

Update() public method

public Update ( Org org ) : bool
org DataSource.Models.Org
return bool

UpdateLoginTime() public method

public UpdateLoginTime ( string orgname ) : bool
orgname string
return bool