/// <summary>
 /// Initializes a new instance of the <see cref="ReferenceDataRepository" /> class.
 /// </summary>
 public PersonServiceRepository()
 {
     this.personsClient = DIContainer.Instance.Resolve<IPersonsClient>(ResolverOverrideForGangway());
     this.guestClient = DIContainer.Instance.Resolve<IGuestClient>(ResolverOverrideForGangway());
     this.crewmemberClient = DIContainer.Instance.Resolve<ICrewmemberClient>(ResolverOverrideForGangway());
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GangwayEventRepository" /> class.
 /// </summary>
 public GangwayEventRepository()
 {
     this.gangwayHistoryClient = DIContainer.Instance.Resolve<IGangwayHistoryClient>(ResolverOverrideForGangway());
     this.eventTypeClient = DIContainer.Instance.Resolve<IEventTypeClient>(ResolverOverrideForGangway());
     this.personsClient = DIContainer.Instance.Resolve<IPersonsClient>(ResolverOverrideForGangway());
 }
Ejemplo n.º 3
0
 public StaffController(IPersonsClient personsClient, IEquipmentClient equipmentClient)
 {
     this.personsClient   = personsClient;
     this.equipmentClient = equipmentClient;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PhotoCaptureRepository" /> class.
 /// </summary>        
 public PhotoCaptureRepository()
 {
     this.personsClient = DIContainer.Instance.Resolve<IPersonsClient>(ResolverOverrideForGangway());
     this.imageMediaClient = DIContainer.Instance.Resolve<IImageMediaClient>(ResolverOverrideForGangway());
 }