Beispiel #1
0
 public SearchRepository(MessengerDbContext context,
                         IFriendsRepository friendsRepository,
                         IAccountDetailRepository detailRepository)
 {
     _context                 = context;
     _friendsRepository       = friendsRepository;
     _accountDetailRepository = detailRepository;
 }
Beispiel #2
0
 public PagesController(IAuthRepository authRepository,
                        IMapper mapper,
                        IAccountDetailRepository accountDetailRepository,
                        IFriendsRepository friendsRepository,
                        IChatRepository chatRepository)
 {
     _authRepository          = authRepository;
     _mapper                  = mapper;
     _accountDetailRepository = accountDetailRepository;
     _friendsRepository       = friendsRepository;
     _chatRepository          = chatRepository;
 }
 public AccountController(IMapper mapper,
     IAuthRepository authRepository,
     ISendEmail sendEmail,
     IAccountDetailRepository accountDetailRepository,
     IFriendsRepository friendsRepository)
 {
     _mapper = mapper;
     _authRepository = authRepository;
     _emailService = sendEmail;
     _accountDetailRepository = accountDetailRepository;
     _friendsRepository = friendsRepository;
 }
 public AccountDetailController(IAuthRepository authRepository,
                                IMapper mapper,
                                IAccountDetailRepository accountDetailRepository,
                                IFriendsRepository friendsRepository,
                                ICloudinaryService cloudinaryService,
                                IFileManager fileManager)
 {
     _authRepository          = authRepository;
     _mapper                  = mapper;
     _accountDetailRepository = accountDetailRepository;
     _friendsRepository       = friendsRepository;
     _cloudinaryService       = cloudinaryService;
     _fileManager             = fileManager;
 }
Beispiel #5
0
 public FriendsController(IAuthRepository authRepository,
                          IMapper mapper,
                          IAccountDetailRepository accountDetailRepository,
                          IFriendsRepository friendsRepository,
                          ISearchRepository searchRepository,
                          ISendEmail sendEmail)
 {
     _authRepository          = authRepository;
     _accountDetailRepository = accountDetailRepository;
     _mapper              = mapper;
     _friendsRepository   = friendsRepository;
     _searchRepository    = searchRepository;
     _sendEmailRepository = sendEmail;
 }
Beispiel #6
0
 public AccountDetailService(IAccountDetailRepository accountDetailRepository)
 {
     _accountDetailRepository = accountDetailRepository;
 }
 public AccountController(IAccountDetailRepository accountDetailRepository, AppDbContext appDbContext)
 {
     _accountDetailRepository = accountDetailRepository;
     _appDbContext            = appDbContext;
 }
Beispiel #8
0
 public HomeController(IAccountDetailRepository accountDetailRepository)
 {
     _accountDetailRepository = accountDetailRepository;
 }
Beispiel #9
0
 /// <summary>
 /// 初始化账户管理器
 /// </summary>
 public AccountManager(IAccountRepository accountRepository, IAccountDetailRepository accountDetailRepository)
 {
     AccountRepository       = accountRepository;
     AccountDetailRepository = accountDetailRepository;
 }