private void RemoveOption(Attribute attribute) { database.Table <Attribute>().Delete(x => x.Id == attribute.Id); AttributeList.Remove(attribute); }