public UnitOfWorkCryptoLearn(CryptoLearnContext _context) { this.context = _context; Devices = new DeviceRepository(context); Languages = new LanguageRepository(context); Lessons = new LessonRepository(context); LessonDescriptions = new LessonDescriptionRepository(context); LessonQuestionsDetails = new LessonQuestionAndOptionRepository(context); Sections = new SectionRepository(context); Images = new LessonImageRepository(context); Views = new LessonViewRepository(context); Likes = new LessonLikeRepository(context); }
public SectionRepository(CryptoLearnContext context) : base(context) { }
public LessonRepository(CryptoLearnContext context) : base(context) { }
public LessonQuestionAndOptionRepository(CryptoLearnContext context) : base(context) { }
public LanguageRepository(CryptoLearnContext context) : base(context) { }
public DeviceRepository(CryptoLearnContext context) : base(context) { }