public Lesson create(Lesson lesson) { _context.Add(lesson); _context.SaveChanges(); return(lesson); }
public Category create(Category category) { _context.Add(category); _context.SaveChanges(); return(category); }
public FinishedLesson create(FinishedLesson finishedLesson) { _context.Add(finishedLesson); _context.SaveChanges(); return(finishedLesson); }
public Course create(Course course) { _context.Add(course); _context.SaveChanges(); return(course); }
public Person create(Person p) { _context.Add(p); _context.SaveChanges(); return(p); }
public Chapter create(Chapter chapter) { _context.Add(chapter); _context.SaveChanges(); return(chapter); }
public CourseInProgress create(CourseInProgress courseInProgress) { _context.Add(courseInProgress); _context.SaveChanges(); return(courseInProgress); }