C# Class HBS.WebApi.Controllers.ModuleController

Inheritance: ApiController
Afficher le fichier Open project: heartbeatservice/HeartbeatServiceSolution

Méthodes publiques

Méthode Description
GetModule ( int CompanyId, String ModuleName ) : List
GetModule ( int ModuleId ) : Module
GetModules ( int companyId, int userId, string role ) : IList
ModuleController ( IAdminRepository repo ) : System
PostModule ( [ module ) : int

Private Methods

Méthode Description
BuildSubMenu ( List module ) : List
Options ( ) : HttpResponseMessage
PutModuleUpdate ( int id, [ module ) : bool

Method Details

GetModule() public méthode

public GetModule ( int CompanyId, String ModuleName ) : List
CompanyId int
ModuleName String
Résultat List

GetModule() public méthode

public GetModule ( int ModuleId ) : Module
ModuleId int
Résultat HBS.Entities.Module

GetModules() public méthode

public GetModules ( int companyId, int userId, string role ) : IList
companyId int
userId int
role string
Résultat IList

ModuleController() public méthode

public ModuleController ( IAdminRepository repo ) : System
repo IAdminRepository
Résultat System

PostModule() public méthode

public PostModule ( [ module ) : int
module [
Résultat int