コード例 #1
0
 public EventController(IEventRepository iEventRepository, IUserInfoRepository iUserInfoRepository,
                        IFeedbackRepository iFeedbackRepository, IEventRequestRepository iEventRequestRepository,
                        IEventResponseRepository iEventResponseRepository)
 {
     _iEventRepository         = iEventRepository;
     _iUserInfoRepository      = iUserInfoRepository;
     _iEventRequestRepository  = iEventRequestRepository;
     _iFeedbackRepository      = iFeedbackRepository;
     _iEventResponseRepository = iEventResponseRepository;
 }
コード例 #2
0
 public AccountController(UserManager <IdentityUser> userManager,
                          SignInManager <IdentityUser> signInManager, IUserInfoRepository userInfoRepository,
                          IEventRequestRepository iEventRequestRepository
                          )
 {
     this.userManager              = userManager;
     this.signInManager            = signInManager;
     this._userInfoRepository      = userInfoRepository;
     this._iEventRequestRepository = iEventRequestRepository;
 }