コード例 #1
0
ファイル: Mapper.cs プロジェクト: DinkoDelic/TimeFlix
 public Mapper(ICrewRepository <Actor> actorRepo, ICrewRepository <Writer> writerRepo, ICrewRepository <Director> directorRepo, ICrewRepository <Genre> genreRepo)
 {
     _genreRepo    = genreRepo;
     _directorRepo = directorRepo;
     _writerRepo   = writerRepo;
     _actorRepo    = actorRepo;
 }
コード例 #2
0
ファイル: CrewData.cs プロジェクト: JaipurAnkita/mastercode
 /// <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;
 }
コード例 #3
0
 /// <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;
 }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
        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;
        }
コード例 #6
0
 public DeleteCrewCommandHandler(ICrewRepository crewRepository)
 {
     _crewRepository = crewRepository;
 }
コード例 #7
0
 public CrewService(ICrewRepository crewRepository)
 {
     this.crewRepository = crewRepository;
 }
コード例 #8
0
ファイル: HumanService.cs プロジェクト: mihalimihai/Xpand
 public HumanService(ICrewRepository crewRepository, IRepository <Human> humanRepository) : base(humanRepository)
 {
 }
コード例 #9
0
 public CrewByIdQueryHandler(ICrewRepository crewRepository, IMapper mapper)
 {
     _crewRepository = crewRepository;
     _mapper         = mapper;
 }
コード例 #10
0
 public CrewController(ICrewRepository repoCrew, ILogRepository repoLog)
     : base(repoLog)
 {
     RepoCrew = repoCrew;
 }
コード例 #11
0
 public CrewsController(ICrewRepository repo, IHttpContextAccessor httpContext, IMapper mapper)
 {
     this.httpContext = httpContext;
     this.mapper      = mapper;
     this.repo        = repo;
 }
コード例 #12
0
 //constructor
 public CrewController(ICrewRepository crewRepository, IConveyanceInOutRepository convInOutRepository, IReferenceRepository referenceRepository)
 {
     this.crewRepo      = crewRepository;
     this.convInOutRepo = convInOutRepository;
     this.refRepo       = referenceRepository;
 }
コード例 #13
0
 /// <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;
 }
コード例 #14
0
ファイル: CrewController.cs プロジェクト: RyanHermawan/Ryan
 public CrewController(IAuthProvider authParam, ICrewRepository repoCrew, IWhitelistRepository repoWhite,
                       ILogRepository repoLog)
 {
     RepoCrew  = repoCrew;
     RepoWhite = repoWhite;
 }
コード例 #15
0
 public UpdateCrewCommandHandler(ICrewRepository crewRepository, IPilotRepository pilotRepository, IStewardessRepository stewardessRepository)
 {
     _crewRepository       = crewRepository;
     _pilotRepository      = pilotRepository;
     _stewardessRepository = stewardessRepository;
 }
コード例 #16
0
 public CrewController(ICrewRepository repo)
 {
     repository = repo;
 }
コード例 #17
0
 public CrewController(IAuthProvider authParam, ICrewRepository repoCrew, IWhitelistRepository repoWhite,
     ILogRepository repoLog)
 {
     RepoCrew = repoCrew;
     RepoWhite = repoWhite;
 }
コード例 #18
0
 public WhitelistController(IWhitelistRepository repoWhitelist, ILogRepository repoLog, ICrewRepository repoCrew)
     : base(repoLog)
 {
     RepoWhitelist = repoWhitelist;
     RepoCrew      = repoCrew;
 }
コード例 #19
0
ファイル: CrewController.cs プロジェクト: DinkoDelic/TimeFlix
 public CrewController(ICrewRepository <Actor> actorRepo, ICrewRepository <Writer> writerRepo, ICrewRepository <Director> directorRepo)
 {
     _writerRepo   = writerRepo;
     _actorRepo    = actorRepo;
     _directorRepo = directorRepo;
 }
コード例 #20
0
ファイル: CrewService.cs プロジェクト: ls3468/MovieStoreApi
 public CrewService(ICrewRepository crewRepository)
 {
     _crewRepository = crewRepository;
 }
コード例 #21
0
ファイル: AlertData.cs プロジェクト: JaipurAnkita/mastercode
 /// <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;
 }