Example #1
0
 public InitialisationHandler(IFilmContext filmRepo, ReviewFilter reviewRepo, CommentFilter commentRepo, ShowingService showRepo,
                              ICustomerContext userRepo, IAdminContext adminRepo, IAccessTokenContext accessTokenContext,
                              AccountCreationService accountCreationService, ExistingUserService existingUserService)
 {
     _filmRepo               = filmRepo;
     _reviewHandler          = reviewRepo;
     _commentRepo            = commentRepo;
     _showRepo               = showRepo;
     _userRepo               = userRepo;
     _adminRepo              = adminRepo;
     _accessTokenContext     = accessTokenContext;
     _existingUserService    = existingUserService;
     _accountCreationService = accountCreationService;
 }
Example #2
0
 public BookingService(ShowingService showingService, IBookingContext bookingContext)
 {
     _showingService = showingService;
     _bookingContext = bookingContext;
 }