public Mapper(ICrewRepository <Actor> actorRepo, ICrewRepository <Writer> writerRepo, ICrewRepository <Director> directorRepo, ICrewRepository <Genre> genreRepo) { _genreRepo = genreRepo; _directorRepo = directorRepo; _writerRepo = writerRepo; _actorRepo = actorRepo; }
/// <summary> /// Initializes a new instance of the <see cref="CrewData" /> class. /// </summary> /// <param name="crewRepository">The crew member repository.</param> /// <param name="referenceDataRepository">The reference data repository.</param> /// <param name="personStatusRepository">The person status repository.</param> /// <param name="shipRepository">The ship repository.</param> /// <param name="shipTimeRepository">The ship time repository.</param> public CrewData(ICrewRepository crewRepository, IReferenceDataRepository referenceDataRepository, IPersonStatusRepository personStatusRepository, IShipRepository shipRepository, IShipTimeRepository shipTimeRepository) { this.crewRepository = crewRepository; this.referenceDataRepository = referenceDataRepository; this.personStatusRepository = personStatusRepository; this.shipRepository = shipRepository; this.shipTimeRepository = shipTimeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="PersonAlertData"/> class. /// </summary> /// <param name="applicationSettings">The application settings.</param> /// <param name="alertRepository">The alert repository.</param> /// <param name="shipRepository">The ship repository.</param> /// <param name="guestRepository">The guest repository.</param> /// <param name="shipTimeRepository">The ship time repository.</param> /// <param name="crewRepository">The crew repository.</param> /// <param name="visitorRepository">The visitor repository.</param> public PersonAlertData(IApplicationSettings applicationSettings, IAlertRepository alertRepository, IShipRepository shipRepository, IGuestRepository guestRepository, IShipTimeRepository shipTimeRepository, ICrewRepository crewRepository, IVisitorRepository visitorRepository) { this.applicationSettings = applicationSettings; this.alertClientRepository = alertRepository; this.shipRepository = shipRepository; this.guestRepository = guestRepository; this.shipTimeRepository = shipTimeRepository; this.crewClientRepository = crewRepository; this.visitorClientRepository = visitorRepository; }
/// <summary> /// Initializes a new instance of the <see cref="MasterDataRepository" /> class. /// </summary> /// <param name="referenceRepository">The reference repository.</param> /// <param name="crewRepository">The crew repository.</param> /// <param name="shipTimeRepository">The ship time repository.</param> /// <param name="shipRepository">The ship repository.</param> /// <param name="voyageRepository">The voyage repository.</param> /// <param name="visitorRepository">The visitor repository.</param> /// <param name="applicationSettings">The application settings.</param> /// <param name="alertRepository">The alert repository.</param> public MasterDataRepository(IReferenceDataRepository referenceRepository, ICrewRepository crewRepository, IShipTimeRepository shipTimeRepository, IShipRepository shipRepository, IVoyageRepository voyageRepository, IVisitorRepository visitorRepository, IApplicationSettings applicationSettings, IAlertRepository alertRepository) { this.crewRepository = crewRepository; this.referenceDataRepository = referenceRepository; this.shipTimeRepository = shipTimeRepository; this.shipRepository = shipRepository; this.voyageRepository = voyageRepository; this.visitorRepository = visitorRepository; this.applicationSettings = applicationSettings; this.alertRepository = alertRepository; }
public UnitOfWork(ICrewRepository crewRepository, IFlightRepository flightRepository, IPilotRepository pilotRepository, IPlaneRepository planeRepository, IPlaneTypeRepository planeTypeRepository, IStewardessRepository stewardessRepository, ITakeOffRepository takeOffRepository, ITicketRepository ticketRepository, MyContext context) { this.crewRepository = crewRepository; this.flightRepository = flightRepository; this.pilotRepository = pilotRepository; this.planeRepository = planeRepository; this.planeTypeRepository = planeTypeRepository; this.stewardessRepository = stewardessRepository; this.takeOffRepository = takeOffRepository; this.ticketRepository = ticketRepository; this.context = context; }
public DeleteCrewCommandHandler(ICrewRepository crewRepository) { _crewRepository = crewRepository; }
public CrewService(ICrewRepository crewRepository) { this.crewRepository = crewRepository; }
public HumanService(ICrewRepository crewRepository, IRepository <Human> humanRepository) : base(humanRepository) { }
public CrewByIdQueryHandler(ICrewRepository crewRepository, IMapper mapper) { _crewRepository = crewRepository; _mapper = mapper; }
public CrewController(ICrewRepository repoCrew, ILogRepository repoLog) : base(repoLog) { RepoCrew = repoCrew; }
public CrewsController(ICrewRepository repo, IHttpContextAccessor httpContext, IMapper mapper) { this.httpContext = httpContext; this.mapper = mapper; this.repo = repo; }
//constructor public CrewController(ICrewRepository crewRepository, IConveyanceInOutRepository convInOutRepository, IReferenceRepository referenceRepository) { this.crewRepo = crewRepository; this.convInOutRepo = convInOutRepository; this.refRepo = referenceRepository; }
/// <summary> /// Initializes a new instance of the <see cref="PortManningData" /> class. /// </summary> /// <param name="shipRepository">The ship repository.</param> /// <param name="crewRepository">The crew repository.</param> public PortManningData(IShipRepository shipRepository, ICrewRepository crewRepository) { this.shipRepository = shipRepository; this.crewRepository = crewRepository; }
public CrewController(IAuthProvider authParam, ICrewRepository repoCrew, IWhitelistRepository repoWhite, ILogRepository repoLog) { RepoCrew = repoCrew; RepoWhite = repoWhite; }
public UpdateCrewCommandHandler(ICrewRepository crewRepository, IPilotRepository pilotRepository, IStewardessRepository stewardessRepository) { _crewRepository = crewRepository; _pilotRepository = pilotRepository; _stewardessRepository = stewardessRepository; }
public CrewController(ICrewRepository repo) { repository = repo; }
public WhitelistController(IWhitelistRepository repoWhitelist, ILogRepository repoLog, ICrewRepository repoCrew) : base(repoLog) { RepoWhitelist = repoWhitelist; RepoCrew = repoCrew; }
public CrewController(ICrewRepository <Actor> actorRepo, ICrewRepository <Writer> writerRepo, ICrewRepository <Director> directorRepo) { _writerRepo = writerRepo; _actorRepo = actorRepo; _directorRepo = directorRepo; }
public CrewService(ICrewRepository crewRepository) { _crewRepository = crewRepository; }
/// <summary> /// Initializes a new instance of the <see cref="AlertData" /> class. /// </summary> /// <param name="alertRepository">The alert repository.</param> /// <param name="visitorRepository">The visitor repository.</param> /// <param name="guestRepository">The guest repository.</param> /// <param name="crewRepository">The crew repository.</param> /// <param name="shipRepository">The ship repository.</param> /// <param name="shipTimeRepository">The ship time repository.</param> /// <param name="applicationSettings">The application settings.</param> /// <param name="embarkationStatisticsRepository">The embarkation statistics repository.</param> public AlertData(IAlertRepository alertRepository, IVisitorRepository visitorRepository, IGuestRepository guestRepository, ICrewRepository crewRepository, IShipRepository shipRepository, IShipTimeRepository shipTimeRepository, IApplicationSettings applicationSettings, IEmbarkationStatisticsRepository embarkationStatisticsRepository) { this.alertRepository = alertRepository; this.visitorRepository = visitorRepository; this.guestRepository = guestRepository; this.crewRepository = crewRepository; this.shipRepository = shipRepository; this.applicationSettings = applicationSettings; this.shipTimeRepository = shipTimeRepository; this.embarkationStatisticsRepository = embarkationStatisticsRepository; }