public IActionResult DodajPV(PorezDodajVM input)
        {
            if (!ModelState.IsValid)
            {
                return(PartialView(input));
            }

            Pdv v = new Pdv()
            {
                Drzava   = input.Drzava,
                IznosPdv = Convert.ToDecimal(input.IznosPoreza) / 100
            };

            _db.Add(v);
            _db.SaveChanges();
            _db.Dispose();

            return(RedirectToAction(nameof(Index)));
        }
        public IActionResult DodajPV()
        {
            PorezDodajVM model = new PorezDodajVM();

            return(PartialView(model));
        }