Beispiel #1
0
 public ProfileController(
     IReadCommand <ProfileResult> profileReadCommand,
     EmployeeReadCommand employeeReadCommand,
     ProfileWriteCommand profileWriteCommand)
 {
     _profileReadCommand  = profileReadCommand;
     _employeeReadCommand = employeeReadCommand;
     _profileWriteCommand = profileWriteCommand;
 }
Beispiel #2
0
 public OrganizationController(
     IEmployeeRepository employeeRepository,
     InvitationWriteCommand employeeWriteCommand,
     EmployeeReadCommand employeeReadCommand)
 {
     _employeeRepository   = employeeRepository;
     _employeeWriteCommand = employeeWriteCommand;
     _employeeReadCommand  = employeeReadCommand;
 }
        public EmployeeController(
            EmployeeWriteCommand employeeWriteCommand,
            EmployeeReadCommand employeeReadCommand)
        {
            Contract.Argument.IsNotNull(employeeWriteCommand, nameof(employeeWriteCommand));
            Contract.Argument.IsNotNull(employeeReadCommand, nameof(employeeReadCommand));

            _employeeWriteCommand = employeeWriteCommand;
            _employeeReadCommand  = employeeReadCommand;
        }
Beispiel #4
0
        public ContactController(
            IEmployeeRepository employeeRepository,
            InvitationWriteCommand employeeWriteCommand,
            EmployeeReadCommand employeeReadCommand)
        {
            Contract.Argument.IsNotNull(employeeRepository, nameof(employeeRepository));
            Contract.Argument.IsNotNull(employeeWriteCommand, nameof(employeeWriteCommand));
            Contract.Argument.IsNotNull(employeeReadCommand, nameof(employeeReadCommand));

            _employeeRepository   = employeeRepository;
            _employeeWriteCommand = employeeWriteCommand;
            _employeeReadCommand  = employeeReadCommand;
        }
 public ProfileController(
     IReadCommand <ProfileResult> profileReadCommand,
     EmployeeReadCommand employeeReadCommand,
     ProfileWriteCommand profileWriteCommand,
     IInvitationRepository invitationRepositore,
     IMembershipRepository membershipRepository,
     IPublicationRepository publicationRepository,
     IDepartureRepository departureRepository)
 {
     _profileReadCommand    = profileReadCommand;
     _employeeReadCommand   = employeeReadCommand;
     _profileWriteCommand   = profileWriteCommand;
     _invitationRepositore  = invitationRepositore;
     _membershipRepository  = membershipRepository;
     _publicationRepository = publicationRepository;
     _departureRepository   = departureRepository;
 }