public AssetLog FindByName(string name) { var result = Entries.FirstOrDefault(e => e.Name.EqualsIgnoreCase(name)); if (result == null) { result = new AssetLog(name); Entries.Add(result); } return result; }
public AssetLog FindByName(string name) { var result = Entries.FirstOrDefault(e => e.Name.EqualsIgnoreCase(name)); if (result == null) { result = new AssetLog(name); Entries.Add(result); } return(result); }