Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PersonManager" /> class.
 /// </summary>
 /// <param name="personRepository">The person repository.</param>
 /// <param name="referenceDataRepository">the reference repository</param>
 /// <param name="personEventRepository">The person event repository.</param>
 /// <param name="shipTimeRepository">The ship time repository.</param>
 public PersonManager(IPersonRepository personRepository, IReferenceDataRepository referenceDataRepository, IPersonEventRepository personEventRepository, IShipTimeRepository shipTimeRepository)
 {
     this.personRepository = personRepository;
     this.referenceDataRepository = referenceDataRepository;
     this.personEventRepository = personEventRepository;
     this.shipTimeRepository = shipTimeRepository;
 }
 public PersonEventService(IPersonEventRepository personEventRepository) : base(personEventRepository)
 {
     _personEventRepository = personEventRepository;
 }