private void SaveRecord() { ContactGroupDetails clsDetails = new ContactGroupDetails(); clsDetails.ContactGroupID = Convert.ToInt16(lblContactGroupID.Text); clsDetails.ContactGroupCode = txtContactGroupCode.Text; clsDetails.ContactGroupName = txtContactGroupName.Text; clsDetails.ContactGroupCategory = (ContactGroupCategory)Enum.Parse(typeof(ContactGroupCategory), cboContactGroupCategory.SelectedItem.Value); ContactGroups clsContactGroup = new ContactGroups(); clsContactGroup.Update(clsDetails); clsContactGroup.CommitAndDispose(); }
public ContactGroup Update(ContactGroup item) { return(ContactGroups.Update(item)); }
public IEnumerable <ContactGroup> Update(IEnumerable <ContactGroup> items) { return(ContactGroups.Update(items)); }