public async Task <bool> MarkAsCompletedAsync(int todoTaskId) { try { if (todoTaskId > 0) { return(await _todoTaskRepository.MarkTodoTaskAsFinishedAsync(todoTaskId)); } return(false); } catch { return(false); } }