Exemplo n.º 1
0
 def create():
     worked_day_repo = WorkedDayRepoFactory.create()
     month_payment_repo = MonthPaymentRepoFactory.create()
     project_repo = ProjectRepoFactory.create()
     worked_day_entity = WorkedDayEntityFactory.create()
     permission_validator = PermissionValidatorFactory.create()
     field_validator = FieldValidatorFactory.create()
     return UpdateWorkedDayInteractor(worked_day_repo, month_payment_repo,
                                      project_repo, worked_day_entity,
                                      permission_validator, field_validator)
Exemplo n.º 2
0
 def create():
     month_payment_repo = MonthPaymentRepoFactory.create()
     project_repo = ProjectRepoFactory.create()
     month_payment_entity = MonthPaymentEntityFactory.create()
     permission_validator = PermissionValidatorFactory.create()
     field_validator = FieldValidatorFactory.create()
     return UpdateMonthPaymentInteractor(month_payment_repo, project_repo,
                                         month_payment_entity,
                                         permission_validator,
                                         field_validator)
Exemplo n.º 3
0
 def create():
     worked_day_repo = WorkedDayRepoFactory.create()
     month_payment_repo = MonthPaymentRepoFactory.create()
     permission_validator = PermissionValidatorFactory.create()
     return GetAllWorkedDaysInteractor(worked_day_repo, month_payment_repo,
                                       permission_validator)
Exemplo n.º 4
0
 def create():
     month_payment_repo = MonthPaymentRepoFactory.create()
     permission_validator = PermissionValidatorFactory.create()
     return GetAllMonthPaymentsInteractor(month_payment_repo,
                                          permission_validator)