public RoomBookingController(IRoomBookingRepository repository, ITimeSlotRepository timeSlotRepository,
                              IRoomRepository roomRepository)
 {
     this.timeSlotRepository = timeSlotRepository;
     this.roomRepository     = roomRepository;
     this.repository         = repository;
 }
 public UpdateRoomBooking(IRoomBookingRepository roomBookingRepository, IRoomRepository roomRepository,
                          ITimeSlotRepository timeSlotRepository, domain.RoomBooking roomBooking)
 {
     this.roomBookingRepository = roomBookingRepository;
     this.roomBooking           = roomBooking;
     this.roomRepository        = roomRepository;
     this.timeSlotRepository    = timeSlotRepository;
 }
Beispiel #3
0
        public IEnumerable <TimeSlot> GetTimeSlots()
        {
            ITimeSlotRepository timeSlotRepository = _DataRepositoryFactory.GetDataRepository <ITimeSlotRepository>();

            IEnumerable <TimeSlot> timeSlots = timeSlotRepository.Get();

            return(timeSlots);
        }
Beispiel #4
0
 public UserController(IUserRepository UserRepository, IZoneRepository ZoneRepository, IUserZoneRepository UserZoneRepository, IPhoneUserRepository PhoneUserRepository, ITimeSlotRepository timeSlotRepository, IThresholdRepository Threshold, ICalendarEventRepository eventsRepository)
 {
     _UserRepository      = UserRepository;
     _ZoneRepository      = ZoneRepository;
     _UserZoneRepository  = UserZoneRepository;
     _PhoneUserRepos      = PhoneUserRepository;
     _timeSlotRepository  = timeSlotRepository;
     _ThresholdRepository = Threshold;
     _eventsRepository    = eventsRepository;
 }
 public HomeController(IAppointmentRepository appRepository,
                       IAdministratorRepository adminRepository, IMemberRepository memberRepository,
                       IPetRepository petRepository, ISpecieRepository specieRepository,
                       IVCRepository VCRepository, IAppTimeRepository appTimeRepository, ITimeSlotRepository TimeSlotRepository)
 {
     _AppRepo      = appRepository;
     _AdminRepo    = adminRepository;
     _MemberRepo   = memberRepository;
     _PetRepo      = petRepository;
     _SpecieRepo   = specieRepository;
     _VCRepo       = VCRepository;
     _AppTimeRepo  = appTimeRepository;
     _TimeSlotRepo = TimeSlotRepository;
 }
 public RepositoryTestClass(ITimeSlotRepository timeSlotRepository)
 {
     _TimeSlotRepository = timeSlotRepository;
 }
Beispiel #7
0
 public TimeSlotService(ITimeSlotRepository repository, IFlightRepository flightRepository)
 {
     _repository       = repository;
     _flightRepository = flightRepository;
 }
 public GetSubscriptionById(ISubscriptionRepository subscriptionRepository, ITimeSlotRepository timeSlotRepository, long id)
 {
     this.subscriptionRepository = subscriptionRepository;
     this.timeSlotRepository     = timeSlotRepository;
     Id = id;
 }
 public SubscriptionController(ISubscriptionRepository repository, ITimeSlotRepository timeSlotRepository)
 {
     Repository         = repository;
     TimeSlotRepository = timeSlotRepository;
 }
Beispiel #10
0
 public TimeSlotsController(IMapper mapper, ITimeSlotRepository repository, IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.mapper     = mapper;
 }