public async Task <ActionResult> Wypozycz(Wypozyczenie szczegoly)
        {
            if (ModelState.IsValid)
            {
                var userEmail        = User.Identity.GetUserName();
                var noweWypozyczenie = koszykManager.UtworzWypozyczenie(szczegoly, userEmail);
                var user             = await UserManager.FindByEmailAsync(userEmail);

                TryUpdateModel(user.DaneKlienta);
                await UserManager.UpdateAsync(user);

                koszykManager.PustyKoszyk();
                return(RedirectToAction("PotwierdzenieWypozyczenia"));
            }
            else
            {
                return(View(szczegoly));
            }
        }