C# Class HBS.WebApi.Controllers.ModuleController

Inheritance: ApiController
Datei anzeigen Open project: heartbeatservice/HeartbeatServiceSolution

Public Methods

Method 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

Method Description
BuildSubMenu ( List module ) : List
Options ( ) : HttpResponseMessage
PutModuleUpdate ( int id, [ module ) : bool

Method Details

GetModule() public method

public GetModule ( int CompanyId, String ModuleName ) : List
CompanyId int
ModuleName String
return List

GetModule() public method

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

GetModules() public method

public GetModules ( int companyId, int userId, string role ) : IList
companyId int
userId int
role string
return IList

ModuleController() public method

public ModuleController ( IAdminRepository repo ) : System
repo IAdminRepository
return System

PostModule() public method

public PostModule ( [ module ) : int
module [
return int