public void UpdateCharacter (Character character) { lock (locker) { if (character.Id != 0) { _sqlconnection.Update (character); //return people.Id; } else { //return people.Id; } } }
//Add new People to DB public void AddCharacter(Character character) { _sqlconnection.Insert(character); }