public void Add(UserSettings item) { var insertCommand = DatabaseQueryMaker.CreateInsertUserSettings(item.UserId, _correcter.Correct(item.Alias), item.SendNewsletter); DatabaseQueryExecutor.Insert <UserSettings>(_connectionString, insertCommand); }
public void Add(UserSettings item) { item.Alias = _correcter.Correct(item.Alias); _store.Add(item); }
public override void Add(UserSettings item) { item.Alias = _correcter.Correct(item.Alias); base.Add(item); }