public ProfileController( IReadCommand <ProfileResult> profileReadCommand, EmployeeReadCommand employeeReadCommand, ProfileWriteCommand profileWriteCommand) { _profileReadCommand = profileReadCommand; _employeeReadCommand = employeeReadCommand; _profileWriteCommand = profileWriteCommand; }
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; }
public ProfileController( IEmployeeRepository employeeRepository, IReadCommand <ProfileResult> profileReadCommand, IReadCommand <EmployeeResult> employeeReadCommand, UserReadCommand userReadCommand, ProfileWriteCommand profileWriteCommand) { Contract.Argument.IsNotNull(employeeRepository, nameof(employeeRepository)); Contract.Argument.IsNotNull(profileReadCommand, nameof(profileReadCommand)); Contract.Argument.IsNotNull(employeeReadCommand, nameof(employeeReadCommand)); Contract.Argument.IsNotNull(userReadCommand, nameof(userReadCommand)); Contract.Argument.IsNotNull(profileWriteCommand, nameof(profileWriteCommand)); _employeeRepository = employeeRepository; _profileReadCommand = profileReadCommand; _employeeReadCommand = employeeReadCommand; _userReadCommand = userReadCommand; _profileWriteCommand = profileWriteCommand; }