public UnitOfWork(ApplicationDbContext context) { this._context = context; Programmes = new ProgrammeRepository(context); UsefulLinks = new UsefulLinkRepository(context); NewsArticles = new NewsArticleRepository(context); Gallerys = new GalleryRepository(context); }
public UnitOfWork(ApplicationDbContext context) { this._context = context; Programmes = new ProgrammeRepository(context); UsefulLinks = new UsefulLinkRepository(context); NewsArticles = new NewsArticleRepository(context); Gallerys = new GalleryRepository(context); }