예제 #1
0
 public List <Product> GetProducts() =>
 _database.GetAllProducts()?.Select(e => new Product(e))?.ToList() ?? new List <Product>();