Beispiel #1
0
 public ICustomDomainObject FindByName(string name)
 {
     return(AllDomainItems.FirstOrDefault(x => x.Name == name));
 }
Beispiel #2
0
 public ICustomDomainObject FindById(Guid id)
 {
     return(AllDomainItems.FirstOrDefault(x => x.ObjectId == id));
 }