C# Class FRS.Implementation.Services.MenuRightsService

Menu Rights Service
Inheritance: IMenuRightsService
Afficher le fichier Open project: innoist/GF-FRS

Méthodes publiques

Méthode Description
FindMenuItemsByRoleId ( string roleId ) : IQueryable

Find Menu Items by Role ID

GetRoleMenuRights ( string roleId ) : UserMenuResponse

Get Menu Rights For Role

MenuRightsService ( IMenuRightRepository menuRightRepository, IMenuRepository menuRepository ) : System

Constructor

SaveRoleMenuRight ( string roleId, string menuIds, UserRole role ) : UserMenuResponse

Save Menu Rights

Method Details

FindMenuItemsByRoleId() public méthode

Find Menu Items by Role ID
public FindMenuItemsByRoleId ( string roleId ) : IQueryable
roleId string
Résultat IQueryable

GetRoleMenuRights() public méthode

Get Menu Rights For Role
public GetRoleMenuRights ( string roleId ) : UserMenuResponse
roleId string
Résultat FRS.Models.MenuModels.UserMenuResponse

MenuRightsService() public méthode

Constructor
public MenuRightsService ( IMenuRightRepository menuRightRepository, IMenuRepository menuRepository ) : System
menuRightRepository IMenuRightRepository
menuRepository IMenuRepository
Résultat System

SaveRoleMenuRight() public méthode

Save Menu Rights
public SaveRoleMenuRight ( string roleId, string menuIds, UserRole role ) : UserMenuResponse
roleId string
menuIds string
role FRS.Models.IdentityModels.UserRole
Résultat FRS.Models.MenuModels.UserMenuResponse