Esempio n. 1
0
 public AvailabilityController(ICottageRepository cottageRepository, IBookingRepository bookingRepository, IDateCheckerService dateCheckerService, ICustomerRepository customerRepository)
 {
     _cottageRepository  = cottageRepository;
     _bookingRepository  = bookingRepository;
     _dateCheckerService = dateCheckerService;
     _customerRepository = customerRepository;
 }
 public FormController(IAttractionRepository attractionRepository, ICottageRepository cottageRepository, IImageGroupRepository imageGroupRepository, IImageRepository imageRepository, IFacebookPostRepository facebookPostRepository, IMapper mapper)
 {
     _attractionRepository   = attractionRepository;
     _cottageRepository      = cottageRepository;
     _imageGroupRepository   = imageGroupRepository;
     _imageRepository        = imageRepository;
     _facebookPostRepository = facebookPostRepository;
     _mapper = mapper;
 }
Esempio n. 3
0
 public AdminController(IBookingRepository bookingRepository, ICottageRepository cottageRepository, IMailServerService mailServerService, IFacebookPostRepository facebookPostRepository, IAttractionRepository attractionRepository, IClientMessageRepository clientMessageRepository)
 {
     _bookingRepository       = bookingRepository;
     _cottageRepository       = cottageRepository;
     _mailServerService       = mailServerService;
     _facebookPostRepository  = facebookPostRepository;
     _attractionRepository    = attractionRepository;
     _clientMessageRepository = clientMessageRepository;
 }
Esempio n. 4
0
 public CalendarController(ICottageRepository cottageRepository, ICalendarService calendarService, IBookingRepository bookingRepository)
 {
     _cottageRepository = cottageRepository;
     _calendarService   = calendarService;
     _bookingRepository = bookingRepository;
 }
 public HomeController(ICottageRepository cottageRepository)
 {
     _cottageRepository = cottageRepository;
 }