C# Class HBS.Data.Concrete.AdminRepository

Inheritance: BaseRepository, IAdminRepository
Exibir arquivo Open project: heartbeatservice/HeartbeatServiceSolution Class Usage Examples

Public Methods

Method Description
AddModule ( Module module ) : int
GetModule ( int moduleId ) : Module
GetModules ( ) : List
GetModules ( int companyid, string modulename ) : List
GetModulesByCompany ( int companyid ) : List
GetModulesByUser ( int userid ) : List
UpdateModule ( int moduleId, Module module ) : bool

Method Details

AddModule() public method

public AddModule ( Module module ) : int
module HBS.Entities.Module
return int

GetModule() public method

public GetModule ( int moduleId ) : Module
moduleId int
return HBS.Entities.Module

GetModules() public method

public GetModules ( ) : List
return List

GetModules() public method

public GetModules ( int companyid, string modulename ) : List
companyid int
modulename string
return List

GetModulesByCompany() public method

public GetModulesByCompany ( int companyid ) : List
companyid int
return List

GetModulesByUser() public method

public GetModulesByUser ( int userid ) : List
userid int
return List

UpdateModule() public method

public UpdateModule ( int moduleId, Module module ) : bool
moduleId int
module HBS.Entities.Module
return bool