public string BestSellingProducts_CartUpdate(int Count, int?CustomerId) { List <BestSellingProducts_CartUpdate_Result> obj = new List <BestSellingProducts_CartUpdate_Result>(); using (var entities = new SedapExpressEntities()) { obj = entities.BestSellingProducts_CartUpdate(Count, CustomerId).ToList <BestSellingProducts_CartUpdate_Result>(); } return(JsonConvert.SerializeObject(obj)); }