예제 #1
0
 public StateRegistrationController(
     IEmployeeRepository employeeRepository,
     InvitationWriteCommand employeeWriteCommand)
 {
     _employeeRepository   = employeeRepository;
     _employeeWriteCommand = employeeWriteCommand;
 }
예제 #2
0
 public InvitationController(
     IEmployeeRepository employeeRepository,
     InvitationWriteCommand invitationWriteCommand,
     IReadCommand <InvitationResult> invitationReadCommand)
 {
     _employeeRepository     = employeeRepository;
     _invitationReadCommand  = invitationReadCommand;
     _invitationWriteCommand = invitationWriteCommand;
 }
예제 #3
0
 public OrganizationController(
     IEmployeeRepository employeeRepository,
     InvitationWriteCommand employeeWriteCommand,
     EmployeeReadCommand employeeReadCommand)
 {
     _employeeRepository   = employeeRepository;
     _employeeWriteCommand = employeeWriteCommand;
     _employeeReadCommand  = employeeReadCommand;
 }
예제 #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;
        }
예제 #5
0
 public InvitationController(
     ILogger <InvitationController> logger,
     IEmployeeRepository employeeRepository,
     InvitationWriteCommand invitationWriteCommand,
     IReadCommand <InvitationResult> invitationReadCommand,
     IInvitationRepository invitationRepository,
     IInternationalAgreementRepository iInternationalAgreementRepository,
     IConsularOfficeRepository consularOfficeRepository,
     IWebHostEnvironment environment)
 {
     Logger = logger;
     _employeeRepository                = employeeRepository;
     _invitationReadCommand             = invitationReadCommand;
     _invitationWriteCommand            = invitationWriteCommand;
     _invitationRepository              = invitationRepository;
     _environment                       = environment;
     _iInternationalAgreementRepository = iInternationalAgreementRepository;
     _consularOfficeRepository          = consularOfficeRepository;
 }