public async Task <IActionResult> SubmitTask([FromBody] ReviewTaskDTO taskDto) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var result = await _taskLogic.SubmitTask(taskDto); if (!result) { return(BadRequest(ModelState)); } return(Ok(result)); }