public async Task <IActionResult> Edit(int id, [Bind("SubjectId,Name,TeacherId,CourseId,LessonDuration,DescriptionOne,DescriptionTwo,DescriptionThree,DescriptionFour")] IndividualSubject individualSubject)
        {
            if (id != individualSubject.SubjectId)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(individualSubject);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!IndividualSubjectExists(individualSubject.SubjectId))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(individualSubject));
        }
        public async Task <IActionResult> Create([Bind("SubjectId,Name,TeacherId,CourseId,LessonDuration,DescriptionOne,DescriptionTwo,DescriptionThree,DescriptionFour")] IndividualSubject individualSubject)
        {
            if (ModelState.IsValid)
            {
                _context.Add(individualSubject);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(individualSubject));
        }