public Predmet Create(Predmet predmet)
        {
            _context.Add(predmet);
            _context.SaveChanges();

            return(predmet);
        }
        public Student Create(Student student)
        {
            _context.Add(student);
            _context.SaveChanges();

            return(student);
        }
        public Ispit Create(Ispit ispit, string Student, string Predmet)
        {
            var StudentIme = StudentImeFunc(Student);
            var PredmetIme = PredmetImeFunc(Predmet);


            if (StudentIme == null || PredmetIme == null)
            {
                return(ispit);
            }
            else
            {
                ispit.BrojIndexa = StudentIme.BrojIndexa;
                ispit.PredmetId  = PredmetIme.PredmetId;

                _context.Add(ispit);
                _context.SaveChanges();

                return(ispit);
            }
        }