public bool Update(DBObject.AttributeChoice attributeChoice) { bool success = true; try { _iAttributeChoiceTable.Update(attributeChoice); } catch { success = false; } return(success); }
public bool Delete(DBObject.AttributeChoice attributeChoice) { bool success = true; try { _iSpeciesAttributeChoiceTable.DeleteByAttributeChoice(attributeChoice.id); _iAttributeChoiceTable.Delete(attributeChoice); } catch { success = false; } return(success); }