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; }
public ReservationService(CinemaDbContext dbContext, IEmailSender emailSender, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; _emailSender = emailSender; }
public RoomService(CinemaDbContext dbContext, IMapper mapper) { _dbContext = dbContext; this._mapper = mapper; }
public SeanceService(CinemaDbContext dbContext, IRoomService roomService, IMapper mapper) { _dbContext = dbContext; _roomService = roomService; _mapper = mapper; }
public MovieService(CinemaDbContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public Repository(CinemaDbContext context) { _context = context; }