public bool EndSelections(bool accept) { try { GenericObject.EndSelectionsAsync(accept).Wait(); return(true); } catch (Exception ex) { logger.Error(ex, $"The method \"{nameof(EndSelections)}\" was failed."); return(false); } }