public AuthenticationController(ILoginOperation loginOperation, IRegisterUserOperation registerUserOperation, ICreateEmployeeOperation employeeOperation, IRefreshJwtOperation refreshJwtOperation, IChangeUserPasswordOperation changeUserPasswordOperation)
 {
     _loginOperation              = loginOperation;
     _registerUserOperation       = registerUserOperation;
     _createEmployeeOperation     = employeeOperation;
     _refreshJwtOperation         = refreshJwtOperation;
     _changeUserPasswordOperation = changeUserPasswordOperation;
 }
Esempio n. 2
0
 public EmployeesController(
     ICreateEmployeeOperation employeeOperation,
     IGetEmployeeDetailsOperation employeeDetailsOperation,
     IDeleteEmployeeOperation deleteEmployeeOperation,
     IReassignEmployeeOperation reassignEmployeeOperation,
     IGetAllSubordinateEmployeesOperation getAllSubordinateEmployeesOperation)
 {
     _createEmployeeOperation             = employeeOperation;
     _getEmployeeDetailsOperation         = employeeDetailsOperation;
     _deleteEmployeeOperation             = deleteEmployeeOperation;
     _reassignEmployeeOperation           = reassignEmployeeOperation;
     _getAllSubordinateEmployeesOperation = getAllSubordinateEmployeesOperation;
 }
 public RegisterUserOperation(IInvitationRepository invitationRepository, ICreateEmployeeOperation employeeOperation, IDeleteInvitationsForEmailOperation deleteInvitationsForEmailOperation)
 {
     _invitationRepository               = invitationRepository;
     _createEmployeeOperation            = employeeOperation;
     _deleteInvitationsForEmailOperation = deleteInvitationsForEmailOperation;
 }