public async Task <ActionResult> Complete(Core.Features.Todo.Commands.CompleteTodo command) { await _mediator.Send(command); return(Ok()); }
public async Task <IActionResult> Complete(Core.Features.Todo.Commands.CompleteTodo command) { await _mediator.Send(command); return(RedirectToAction("Index")); }