示例#1
0
 public UnitOfWork(vKurzuDbContext context)
 {
     _context           = context;
     AdminNotes         = new AdminNoteRepository(_context);
     Courses            = new CourseRepository(_context);
     TutorialCategories = new TutorialCategoryRepository(_context);
     Blogs         = new BlogRepository(_context);
     Svgs          = new SvgRepository(_context);
     Images        = new ImageRepository(_context);
     Tags          = new TagRepository(_context);
     TutorialPosts = new TutorialPostRepository(_context);
 }
示例#2
0
 public ImageRepository(vKurzuDbContext context) : base(context)
 {
 }
示例#3
0
 public BlogRepository(vKurzuDbContext context) : base(context)
 {
 }
示例#4
0
 public CourseRepository(vKurzuDbContext context) : base(context)
 {
 }
示例#5
0
 public AdminNoteRepository(vKurzuDbContext context) : base(context)
 {
 }
 public TutorialPostRepository(vKurzuDbContext context) : base(context)
 {
 }
示例#7
0
 public TutorialCategoryRepository(vKurzuDbContext context) : base(context)
 {
 }
示例#8
0
 public PersonController(UserManager <IdentityUser> userManager,
                         vKurzuDbContext context)
 {
     _userManager = userManager;
     _context     = context;
 }