public AssignGoalToTeamOperation(
     IAssignGoalToEmployeeOperation assignGoalToEmployeeOperation,
     IAuthorizationContext authorizationContext)
 {
     _assignGoalToEmployeeOperation = assignGoalToEmployeeOperation;
     _authorizationContext          = authorizationContext;
 }
Beispiel #2
0
 public AssignGoalsToSelfOperation(
     IAuthorizationContext authorizationContext,
     IAssignGoalToEmployeeOperation assignGoalToEmployeeOperation)
 {
     _authorizationContext          = authorizationContext;
     _assignGoalToEmployeeOperation = assignGoalToEmployeeOperation;
 }
 public GoalsController(IGetPersonalGoalsOperation getPersonalGoalsOperation,
                        IAssignGoalToEmployeeOperation assignGoalToEmployeeOperation,
                        IAssignGoalToTeamOperation assignGoalToTeamOperation,
                        IAssignGoalsToSelfOperation assignGoalsToSelfOperation,
                        IGetEmployeeGoalsOperation getEmployeeGoalsOperation,
                        IDeleteGoalsOperation deleteGoalsOperation)
 {
     _getPersonalGoalsOperation     = getPersonalGoalsOperation;
     _assignGoalToEmployeeOperation = assignGoalToEmployeeOperation;
     _assignGoalToTeamOperation     = assignGoalToTeamOperation;
     _assignGoalsToSelfOperation    = assignGoalsToSelfOperation;
     _getEmployeeGoalsOperation     = getEmployeeGoalsOperation;
     _deleteGoalsOperation          = deleteGoalsOperation;
 }