Ejemplo n.º 1
0
 public WaiverServiceTest()
 {
     _waiverRepository           = new Mock <IWaiverRepository>();
     _authenticationRepository   = new Mock <IAuthenticationRepository>();
     _invitationRepository       = new Mock <IInvitationRepository>();
     _contactRepository          = new Mock <IContactRepository>();
     _communicationRepository    = new Mock <ICommunicationRepository>();
     _eventParticipantRepository = new Mock <IEventParticipantRepository>();
     _configurationWrapper       = new Mock <IConfigurationWrapper>();
     _fixture = new WaiverService(_waiverRepository.Object, _authenticationRepository.Object, _invitationRepository.Object, _contactRepository.Object, _communicationRepository.Object, _eventParticipantRepository.Object, _configurationWrapper.Object);
 }
Ejemplo n.º 2
0
 public WaiverController(IRepository repository,
                         IMapper mapper,
                         WaiverService waiverService,
                         TeamService teamService,
                         UserManager <AppUser> userManager)
 {
     _repository    = repository;
     _mapper        = mapper;
     _waiverService = waiverService;
     _teamService   = teamService;
     _userManager   = userManager;
 }