コード例 #1
0
 public RoleService(IRoleRepository _adminRole, IRoleAndUserRelationRepository _roleAndUser, IMenuAndRoleRelationRepository _menuAndRole, IMenuRepository _menuRepository)
 {
     this.adminRole           = _adminRole;
     this.roleAndUserRelation = _roleAndUser;
     this.menuAndRoleRelation = _menuAndRole;
     this.menuRepository      = _menuRepository;
 }
コード例 #2
0
 public MenuService(IMenuRepository _menuRepository, IMenuAndRoleRelationRepository _menuAndRole)
 {
     this.menuRepository      = _menuRepository;
     this.menuAndRoleRelation = _menuAndRole;
 }