Untitled
unknown
plain_text
2 years ago
473 B
12
Indexable
public async Task<List<Product>> GetByGmail(string gmail)
{
List<Product> products = await _context.Products
.Join(_context.Carts.Where(c => c.EmailId == gmail),
p => p.ProductId,
c => c.ProductId,
(p, c) => p)
.ToListAsync();
return products;
}
Editor is loading...
Leave a Comment