コード例 #1
0
 public void UpdateDaughter(Daughter daughter)
 {
     var oldFather = _dataStore.Daughters.FirstOrDefault(d => d.Id == daughter.Id);
     // Update each property
 }
コード例 #2
0
 public void AddDaughter(Daughter daughter)
 {
     _dataStore.Daughters.Add(daughter);
 }