public void Save(IDataProvider provider) { if (_isNew) { Add(provider); } else { Update(provider); } }