public void Update(Models.Race race) { this.Race = race; this.Raise(nameof(this.Name)); this.Raise(nameof(this.RaceDate)); this.Raise(nameof(this.Gender)); this.Raise(nameof(this.RaceType)); this.Raise(nameof(this.RaceState)); }
public RaceListItemViewModel(Models.Race race) { this.Race = race; }