public ActionResult Cart()
        {
            string          userName = User.Identity.Name.Substring(0, User.Identity.Name.IndexOf("@")).ToLower();
            List <CartItem> cart     = new List <CartItem>();
            var             items    = BookProcessor.GetAll(userName);

            foreach (CartItem row in items)
            {
                cart.Add(new CartItem
                {
                    ID         = row.ID,
                    GegStdKurz = row.GegStdKurz,
                    Klasse     = row.Klasse,
                    Kurztitel  = row.Kurztitel,
                    Verlag     = row.Verlag,
                    Preis      = row.Preis,
                    LehrKurz   = row.LehrKurz
                });
            }
            return(View(cart));
        }
 private void GetBooks()
 {
     BooksContext booksContext = new BooksContext();
     var          processor    = new BookProcessor(booksContext);
     var          books        = processor.GetAll();
 }