private static async Task CheckOperation(this ICommandAdapter commandAdapter, MapAction mapAction)
 {
     await commandAdapter.Execute(() => {
         commandAdapter.Execute(new ActionCommand(Actions.Refresh));
         commandAdapter.Execute(
             new CheckDetailViewCommand <DevExpress.Persistent.BaseImpl.Task>((task => task.Description,
                                                                               mapAction.ToString())));
     });
 }
 private static void CheckOperatrion(this ICommandAdapter commandAdapter, MapAction mapAction)
 {
     commandAdapter.Execute(new WaitCommand(2000), new ActionCommand(Actions.Refresh));
     commandAdapter.Execute(new CheckDetailViewCommand((nameof(ITask.Description), mapAction.ToString())));
 }