public RoomController(IClientRepo clientRepo, IRoomRepo roomRepo, IMapper mapper, IEmailer emailer) { _clientRepo = clientRepo; _roomRepo = roomRepo; _mapper = mapper; _emailer = emailer; }
public EventRoomService(IDBContext dbContext, IDataRepository dataRepository, IMemberOperLogService memberOperLogService, IRoomRepo roomRepo) { _dbContext = dbContext; _dataRepository = dataRepository; _memberOperLogService = memberOperLogService; _roomData = roomRepo; }
public EventSignService(IDBContext dbContext, IDataRepository dataRepository, IMemberOperLogService memberOperLogService, IRefereeSignRepo refereeSignRepo, IRoomRepo roomData) { _dbContext = dbContext; _dataRepository = dataRepository; _memberOperLogService = memberOperLogService; _refereeSignRepo = refereeSignRepo; _roomData = roomData; }
public void GetRoomDetailsTest() { //arrange //repo = new BookingRepo(connectionString); repo = _serviceProvider.GetService <IRoomRepo>(); Room room = new Room(); room.Id = 1; room.status = "A bit dusty"; room.PricePerDay = 12.5F; //act var res = repo.GetRoomDetails(room.Id); //assert Assert.AreEqual(room.Id, res.Id); Assert.AreEqual(room.status, res.status); Assert.AreEqual(room.PricePerDay, res.PricePerDay); }
public SessionService(IContactService contactService, IEventService _eventService, ICustomFieldsRepo customFieldsRepo, IEventSessionRepo eventSessionRepo, IVenueRepo venueRepo, IRoomRepo roomRepo, ILogService logService, ITimeService timeService, IRedisEntityCache cache) : base(cache) { _contactService = contactService; this._eventService = _eventService; _customFieldsRepo = customFieldsRepo; _eventSessionRepo = eventSessionRepo; _venueRepo = venueRepo; _roomRepo = roomRepo; _logService = logService; _timeService = timeService; }
public RoomService(IRoomRepo repo) { _repo = repo; }
public RoomService(IRoomRepo repo) { this.repo = repo; }
public BookingService(IRoomRepo roomsRepo) { this.roomRepo = roomsRepo; }
public RoomController(IRoomRepo repository, HotelDbContext context) { this.repository = repository; _context = context; }
public GameHub(IRoomRepo roomRepo, IUserRepo userRepo) { this._roomRepo = roomRepo; }
public RoomBizLog(IRoomRepo _repo) { repo = _repo; }
public BookingService(IBookingRepo repo, IRoomRepo roomRepo) { this.repo = repo; this.roomRepo = roomRepo; }
public BookingRepo(string connectionstring, IRoomRepo roomRepo) { this.connectionstring = connectionstring; this.roomRepo = roomRepo; }
public RoomController(IRoomRepo roomRepo, IMapper mapper) { _repo = roomRepo; _mapper = mapper; }
public RoomController(IRoomRepo roomRepo) { this._roomRepo = roomRepo; }
public GuestController(IReservationRepo reservationRepo, IGuestRepo guestRepo, IRoomRepo roomRepo) { _reservationRepo = reservationRepo; _guestRepo = guestRepo; _roomRepo = roomRepo; }
public RoomController(IRoomRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public RoomController(IRoomRepo repo) { _repo = repo; }