private Basket CreateNewBasket() { //Create a new basket in the database Basket basket = new Basket(); basketContext.Add(basket); basketContext.Commit(); return(basket); }