Ejemplo n.º 1
0
        // GET: Checkings/Create
        public IActionResult Create()
        {
            Checking checking = new Checking
            {
                Start_date = DateTime.Today,
                Exist      = true,
                Interest   = 0.01m,
            };

            //create new checking account
            DAL.CreateChecking(checking);
            return(RedirectToAction(nameof(Index)));
        }