public bool Add(AttachmentType obj) { return(database.ExecuteNonQuery("AddAttachmentType", obj.Name) > 0); }
public bool Edit(AttachmentType obj) { return(database.ExecuteNonQuery("EditAttachmentType", obj.Id, obj.Name) > 0); }