示例#1
0
 public UserController(
     StupidLoader stupidLoader,
     IUserManager userMgr,
     IUserRepository userRepo,
     IFriendshipRepository friendshipRepo,
     IFriendshipManager friendshipMgr)
 {
     _userMgr        = userMgr;
     _stupidLoader   = stupidLoader;
     _userRepo       = userRepo;
     _friendshipRepo = friendshipRepo;
     _friendshipMgr  = friendshipMgr;
 }
示例#2
0
 public FriendshipController(
     IUserRepository userRepo,
     IFriendshipRepository friendshipRepo,
     IFriendshipManager friendshipMgr,
     IConversationRepository conversationRepo,
     IConversationManager conversationMgr,
     IHubContext <FriendsHub, IFriendsClient> friendsHub,
     StupidLoader stupidLoader)
 {
     _userRepo        = userRepo;
     _friendshipRepo  = friendshipRepo;
     _friendshipMgr   = friendshipMgr;
     _conversationMgr = conversationMgr;
     _friendsHub      = friendsHub;
     _stupidloader    = stupidLoader;
 }
 public AuthenticationController(ITokenAuthService authService, StupidLoader stupidLoader)
 {
     _authService  = authService;
     _stupidLoader = stupidLoader;
 }