public void RmLog() { CanExec = false; var task = QAToolsFacade.RmLog(); task.GetAwaiter().OnCompleted(() => { CanExec = true; }); }
private void RmLogBtn_Click(object sender, RoutedEventArgs e) { QAToolsFacade.RmLog(); }