public int StarProduct(int id_Product) { return Convert.ToInt32(db .tbl_satar_Product .Where(p => p.Id_Product == id_Product && p.star != null) .Average(s => s.star)); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)