public string DeleteProductFromWishlist(int?CustomerId, int ProductId) { List <int> obj = new List <int>(); int result; using (var entities = new SedapExpressEntities()) { result = entities.DeleteProductFromWishlist(CustomerId, ProductId); } return(JsonConvert.SerializeObject(result)); }