/// <summary> /// Initializes a new instance of the <see cref="StayService"/> class. /// </summary> /// <param name="stayRepository"></param> public StayService(IStayRepository stayRepository, ILodgingRepository lodgingRepository, IAnimalRepository animalRepository) { _stayRepository = stayRepository; _lodgingRepository = lodgingRepository; _animalRepository = animalRepository; }
public StayController(IStayRepository stayRepository, IReferenceRepository referenceRepository) { this.stayRepo = stayRepository; this.refRepo = referenceRepository; }
public StayService(IStayRepository stayRepository, IMapper <Stay, StayDto> mapper) { _stayRepository = stayRepository; _mapper = mapper; }