public async Task <IActionResult> CreateCredit(int id)
        {
            Credit cr = new Credit {
                IdClient = id,
                Amount   = 3000,
                Percent  = 10,
                Time     = 12
            };
            await _context.AddCredit(cr);

            return(RedirectToAction("Clients", "Bank"));
        }