protected override bool CanDeleteRecord(StallDTO rec) { if (!AppArgs.CanDeleteStall(true)) { return(false); } if (_stallIdToLeases.TryGetValue(rec.Id, out LeaseDTO lse)) { Alert.Show("Cannot Delete if Occupied", $"Currently occupied by {lse}"); return(false); } return(true); }