C# 클래스 HBS.WebApi.Controllers.ModuleController

상속: ApiController
파일 보기 프로젝트 열기: heartbeatservice/HeartbeatServiceSolution

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
BuildSubMenu ( List module ) : List
Options ( ) : HttpResponseMessage
PutModuleUpdate ( int id, [ module ) : bool

메소드 상세

GetModule() 공개 메소드

public GetModule ( int CompanyId, String ModuleName ) : List
CompanyId int
ModuleName String
리턴 List

GetModule() 공개 메소드

public GetModule ( int ModuleId ) : Module
ModuleId int
리턴 HBS.Entities.Module

GetModules() 공개 메소드

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

ModuleController() 공개 메소드

public ModuleController ( IAdminRepository repo ) : System
repo IAdminRepository
리턴 System

PostModule() 공개 메소드

public PostModule ( [ module ) : int
module [
리턴 int