コード例 #1
0
 public RegInvitationCommandHandler(IMapper mapper, IUnitOfWork unitOfWork, IInvitationRepository accountRepository, IInvitationManager invitationManager, ISession session)
 {
     _unitOfWork           = unitOfWork;
     _invitationRepository = accountRepository;
     _mapper            = mapper;
     _invitationManager = invitationManager;
     _session           = session;
 }
コード例 #2
0
 public AccountController(ApplicationUserManager userManager, IInvitationManager invitationManager,
                          HttpContextBase httpContextBase)
 {
     _userManager       = httpContextBase.GetOwinContext().GetUserManager <ApplicationUserManager>();
     _invitationManager = invitationManager;
 }