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