Пример #1
0
 public TaskServiceController(IMapper mapper,
                              IUserService userService,
                              ITaskService taskService,
                              ITaskValidationService taskValidationService,
                              ITaskToggleStatusValidationService taskToggleStatusValidationService)
 {
     _mapper                            = mapper;
     _userService                       = userService;
     _taskService                       = taskService;
     _taskValidationService             = taskValidationService;
     _taskToggleStatusValidationService = taskToggleStatusValidationService;
 }
Пример #2
0
 public ValidateToggleStatus(ITaskToggleStatusValidationService taskService)
 {
     _taskServices = taskService;
 }