예제 #1
0
 protected Product GetProduct(string searchText)
 => ProductDataSource.FirstOrDefault(p => p.Id == parseInt(searchText).Match(r => r, () => 0));