public CourseLibraryRepository(ICourseLibraryContext courseLibraryContext) { _courseLibraryContext = courseLibraryContext; }
public AuthorService(ICourseLibraryContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }