示例#1
0
 public UserService(CinemaDbContext dbContext, IEncrypter encrypter, ITokenProvider tokenProvider,
                    IMapper mapper, IMemoryCache memoryCache, IEmailSender emailSender)
 {
     _dbContext        = dbContext;
     _tokenProvider    = tokenProvider;
     this._encrypter   = encrypter;
     _mapper           = mapper;
     _memoryCache      = memoryCache;
     this._emailSender = emailSender;
 }
示例#2
0
 public ReservationService(CinemaDbContext dbContext, IEmailSender emailSender, IMapper mapper)
 {
     _dbContext   = dbContext;
     _mapper      = mapper;
     _emailSender = emailSender;
 }
示例#3
0
 public RoomService(CinemaDbContext dbContext, IMapper mapper)
 {
     _dbContext   = dbContext;
     this._mapper = mapper;
 }
示例#4
0
 public SeanceService(CinemaDbContext dbContext, IRoomService roomService, IMapper mapper)
 {
     _dbContext   = dbContext;
     _roomService = roomService;
     _mapper      = mapper;
 }
示例#5
0
 public MovieService(CinemaDbContext dbContext, IMapper mapper)
 {
     _dbContext = dbContext;
     _mapper    = mapper;
 }
示例#6
0
 public Repository(CinemaDbContext context)
 {
     _context = context;
 }