示例#1
0
 public HubControllerService(IDbService <Infrastructure.Entities.Db.Hub> hubDbService, IDbService <Campus> campusDbService, IGraphGroupService graphGroupService, IGraphUserService graphUserService)
 {
     _hubDbService      = hubDbService;
     _campusDbService   = campusDbService;
     _graphGroupService = graphGroupService;
     _graphUserService  = graphUserService;
 }
示例#2
0
 public CampusControllerService(IGraphUserService graphUserService, IDbService <Infrastructure.Entities.Db.Campus> campusDbService, IDbService <Hub> hubDbService, AuthorizationConfiguration authorizationConfiguration, IGraphGroupService graphGroupService)
 {
     _graphUserService           = graphUserService;
     _campusDbService            = campusDbService;
     _hubDbService               = hubDbService;
     _authorizationConfiguration = authorizationConfiguration;
     _graphGroupService          = graphGroupService;
 }
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="graphService"></param>
 /// <param name="authConfig"></param>
 public UsersController(IGraphUserService graphService, AuthorizationConfiguration authConfig)
 {
     _graphService = graphService;
     _authConfig   = authConfig;
 }