Esempio n. 1
0
 public TaskServiceController(IMapper mapper,
                              IUserService userService,
                              ITaskService taskService,
                              ITaskValidationService taskValidationService,
                              ITaskToggleStatusValidationService taskToggleStatusValidationService)
 {
     _mapper                            = mapper;
     _userService                       = userService;
     _taskService                       = taskService;
     _taskValidationService             = taskValidationService;
     _taskToggleStatusValidationService = taskToggleStatusValidationService;
 }
 public ValidateToggleStatus(ITaskToggleStatusValidationService taskService)
 {
     _taskServices = taskService;
 }