public void Update(Shooter shooter) { Shooter entity = FindById(shooter.ShooterId); entity.ShooterNumber = shooter.ShooterNumber; _repository.Commit(); }
public void Update(Person person) { Person entity = FindById(person.PersonId); entity.FirstName = person.FirstName; entity.LastName = person.LastName; _repository.Commit(); }