public ProfileController( IReadCommand <ProfileResult> profileReadCommand, EmployeeReadCommand employeeReadCommand, ProfileWriteCommand profileWriteCommand) { _profileReadCommand = profileReadCommand; _employeeReadCommand = employeeReadCommand; _profileWriteCommand = profileWriteCommand; }
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; }
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; }