public AdminController(ISuggestionAppService suggestionAppService, IUserService userAppService,
                        IAsyncRepository <User> userRepo, IPostAppService postAppService)
 {
     _suggestionAppService = suggestionAppService;
     _userAppService       = userAppService;
     _userRepo             = userRepo;
     _postAppService       = postAppService;
 }
示例#2
0
 public UserController(IUserService userService,
                       IEmailSender emailSender, ISuggestionAppService suggestionAppService, IAsyncRepository <CommunityUser> communityUserRepository,
                       IAsyncRepository <User> userRepository
                       )
 {
     _userService             = userService;
     _emailSender             = emailSender;
     _suggestionAppService    = suggestionAppService;
     _communityUserRepository = communityUserRepository;
     _userRepository          = userRepository;
 }