Exemplo n.º 1
0
        public ActionResult RedactorTimeTable(string day, string number, string group, string teatcher, string auditory, string subject)
        {
            LessonOperations lo = new LessonOperations();

            lo.AddLesson(new MLesson(day, int.Parse(number), group, teatcher, auditory, subject));
            ViewBag.Message = "Succsesfully added";
            return(View());
        }
        public void GetLessonsTest()
        {
            var groupOperations = new LessonOperations();

            groupOperations.GetLessons();
            groupOperations.AddLesson(new Models.MLesson());

            groupOperations.GetLessonByID(0);
        }