Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public SectionRepository(CryptoLearnContext context) : base(context)
 {
 }
 public LessonRepository(CryptoLearnContext context) : base(context)
 {
 }
 public LessonQuestionAndOptionRepository(CryptoLearnContext context) : base(context)
 {
 }
 public LanguageRepository(CryptoLearnContext context) : base(context)
 {
 }
Esempio n. 6
0
 public DeviceRepository(CryptoLearnContext context) : base(context)
 {
 }