public async Task <IActionResult> CheckAcceptAndNotCancelInviteTaskAsync([FromBody] CheckPayInput payInput) { GetRespondResultOutput result = await _taskService.CheckAcceptAndNotCancelInviteTaskAsync(payInput.TaskId, GetUserName()); return(Ok(result)); }
public async Task <IActionResult> CheckSelectPayAsync([FromBody] CheckPayInput payInput) { bool result = await _taskService.CheckSelectPayAsync(payInput.TaskId); return(Ok(result)); }