Reading data from web services

Nov 8, 2016 at 6:23 AM
I want to rewrite the code so that instead of reading from data base directly, the code read through a web service. So what I guess is that simply I should update the functions like EmptyCart, GetCartItems, GetCount, GetTotal in ShoppingCart Model and both the AddToCart and RemoveFromCart functions in ShoppingCartController and ShoppingCart Model. Correct?