Esempio n. 1
0
        //
        // GET: /Grade/

        public ActionResult Index()
        {
            Storage model = new Storage();
            return View(model.getGrades());
        }
Esempio n. 2
0
        public MainWindowViewModel()
        {
            storage = new Storage();
            Groups = storage.getGroups();
            Students = storage.getStudents();
            Subjects = storage.getSubjects();
            Semesters = storage.getSemesters();
            Realisations = storage.getRealisations();
            Registrations = storage.getRegistrations();
            Grades = storage.getGrades();
            GradeValues = null;
            GVGrades = null;

            IndexValid = NameValid = SurnameValid = true;
            GNameValid = true;
            SubNameValid = UrlValid = ConspectValid = true;
            SemNameValid = true;
            GradeNameValid = MaxValueValid = true;
            DateValid = ValueValid = true;
        }