public async Task <ValidationResult> AddBoard(AddBoardDTO addBoardDTO)
 {
     return(await _mediatorHandler.SendCommand(new AddBoardCommand(addBoardDTO.BoardTitle)));
 }
 public async Task <IActionResult> AddBoard([FromBody] AddBoardDTO addBoardDTO)
 {
     return(!ModelState.IsValid ? CustomResponse(ModelState) : CustomResponse(await _boardAppService.AddBoard(addBoardDTO)));
 }