public async Task DeleteAsync() { try { await CategoryLogic.DeleteCategoryAsync(Id); } catch (Exception e) { Logger.LogError(e, e.Message); await ShowErrorMessageAsync(); } }