public IActionResult Add([FromBody] TaskStateDTO model)
 {
     return(new OkObjectResult(_createTaskStateUseCase.Execute(model.Active, model.Code, model.Color, model.Name)));
 }
 public IActionResult Update([FromBody] TaskStateDTO model)
 {
     return(new OkObjectResult(_updateTaskStateUseCase.Execute(model.TaskStateID, model.Code, model.Name, model.Color, model.Active)));
 }