public ActionResult Purchase() { var currentbasket = BasketRepository.GetBasket(); var model = BasketRepository.AddtoOrder(currentbasket, User.Identity.GetUserId(), User.Identity.GetUserName()); return(View(model)); }