コード例 #1
0
 public SeasonsController(ISeasonRepository seasonRepository,
                          IRoomRateRepository roomRateRepository,
                          IRoomRepository roomRepository,
                          IMealRateRepository mealRateRepository,
                          IMealRepository mealRepository)
 {
     _seasonRepository   = seasonRepository;
     _roomRateRepository = roomRateRepository;
     _roomRepository     = roomRepository;
     _mealRateRepository = mealRateRepository;
     _mealRepository     = mealRepository;
 }
コード例 #2
0
 public HomeController(IRoomRateRepository roomRateRepository,
                       IMealRateRepository mealRateRepository,
                       IRoomRepository roomRepository,
                       IMealRepository mealRepository,
                       ISeasonRepository seasonRepository,
                       IReservationRepository reservationRepository)
 {
     _roomRateRepository    = roomRateRepository;
     _mealRateRepository    = mealRateRepository;
     _roomRepository        = roomRepository;
     _mealRepository        = mealRepository;
     _seasonRepository      = seasonRepository;
     _reservationRepository = reservationRepository;
 }