Exemple #1
0
 public UserService(ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork, IUserRepository userRepository, ISettingsRepository settingsRepository, IEmailService emailService)
 {
     _theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     _userRepository            = userRepository;
     _settingsRepository        = settingsRepository;
     _emailService = emailService;
 }
Exemple #2
0
 public RefreshTokenService(IRefreshTokenRepository refreshTokenRepository, ITokenService tokenService, IUserService userService, ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork)
 {
     _userService               = userService;
     _tokenService              = tokenService;
     _refreshTokenRepository    = refreshTokenRepository;
     _theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
 }
 public ScheduleServiceWp(ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
                          IScheduleRepository scheduleRepositoryWp, IMemoryCache memoryCache)
 {
     this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     this.scheduleRepositoryWp      = scheduleRepositoryWp;
     this.memoryCache = memoryCache;
 }
 public PushTokenService(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     IAccountRepository accountRepository,
     IPushTokenRepository pushTokenRepository)
 {
     this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     this.accountRepository         = accountRepository;
     this.pushTokenRepository       = pushTokenRepository;
 }
Exemple #5
0
 public CreativeTeamService(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     ICreativeTeamRepository creativeTeamRepository,
     IMemoryCache memoryCache)
 {
     this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     this.creativeTeamRepository    = creativeTeamRepository;
     this.memoryCache = memoryCache;
 }
Exemple #6
0
 public PostersService(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     IPerfomanceRepository perfomanceRepository,
     IImageService imageService,
     IMemoryCache memoryCache)
 {
     this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     this.perfomanceRepository      = perfomanceRepository;
     this.imageService = imageService;
     this.memoryCache  = memoryCache;
 }
Exemple #7
0
        public AdminsPostService(ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork, IAdminsPostRepository adminsPostRepository)
        {
            this.adminsPostRepository      = adminsPostRepository;
            this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;

            var config = new MapperConfiguration(cfg =>
            {
                cfg.CreateMap <AdminsPost, AdminsPostDTO>()
                .ReverseMap();
            });

            mapper = config.CreateMapper();
        }
 public SettingsService(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     INotificationFrequencyRepository notificationFrequencyRepository,
     ISettingsRepository settingsRepository,
     IAccountRepository accountRepository,
     ILanguageRepository languageRepository)
 {
     this.theaterScheduleUnitOfWork       = theaterScheduleUnitOfWork;
     this.notificationFrequencyRepository = notificationFrequencyRepository;
     this.settingsRepository = settingsRepository;
     this.accountRepository  = accountRepository;
     this.languageRepository = languageRepository;
 }
 public WishlistService(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     IWishlistRepository WishlistRepository,
     IAccountRepository accountRepository,
     IMemoryCache memoryCache,
     IPerfomanceRepository perfomanceRepository)
 {
     this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     this.WishlistRepository        = WishlistRepository;
     this.accountRepository         = accountRepository;
     this.memoryCache          = memoryCache;
     this.perfomanceRepository = perfomanceRepository;
 }
Exemple #10
0
 public MessageService(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     IMessageRepository messageRepository,
     IUserRepository userRepository)
 {
     this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     this.messageRepository         = messageRepository;
     this.userRepository            = userRepository;
     _mapper = new MapperConfiguration(cfg =>
     {
         cfg.CreateMap <Message, MessageDTO>().ReverseMap();
     }).CreateMapper();
 }
Exemple #11
0
 public PerformanceDetailsServiceWp(
     ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork,
     IPerformanceDetailsRepository performanceDetailsRepository,
     ITagRepository tagRepository,
     ICreativeTeamRepository creativeTeamRepository,
     IIsCheckedPerformanceRepository isCheckedPerformanceRepository,
     IMemoryCache memoryCache)
 {
     this.theaterScheduleUnitOfWork    = theaterScheduleUnitOfWork;
     this.performanceDetailsRepository = performanceDetailsRepository;
     this.tagRepository                  = tagRepository;
     this.creativeTeamRepository         = creativeTeamRepository;
     this.isCheckedPerformanceRepository = isCheckedPerformanceRepository;
     this.memoryCache = memoryCache;
 }
Exemple #12
0
 public EventService(ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork, IEventRepository eventRepository)
 {
     this.theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     this.eventRepository           = eventRepository;
 }
Exemple #13
0
 public FormService(ITheaterScheduleUnitOfWork theaterScheduleUnitOfWork, IGoogleFormUrlRepository formUrlRepository)
 {
     _theaterScheduleUnitOfWork = theaterScheduleUnitOfWork;
     _formUrlRepository         = formUrlRepository;
 }