def add(entity)
      record = dao.new filtered_attributes_for(entity)
      RecordSaver.new(record: record, factory: factory).result
    end
def add(entity)
      record = dao.new filtered_attributes_for(entity)
      RecordSaver.new(record: record, factory: factory).result
    end
Initialise a new `Repository::Base` instance.
 @param factory Has a .create method to create entities from DAO records.
 @param dao Data Access Object implements persistence without business
            logic.
 Add a new record with attributes matching the specified entity to the
 associated DAO.
 @param entity Entity specifying record to be persisted to new DAO record.
 @return [Repository::Support::StoreResult] An object containing
     information about the success or failure of an action.