public UnitOfWork(GalleryAppContext context)
 {
     this.context = context;
     Arts         = new ArtRepository(context);
     Artists      = new ArtistRepository(context);
     Categories   = new CategoryRepository(context);
     Contacts     = new ContactRepository(context);
     Quotes       = new QuotesRepository(context);
 }
 public DbDeletableRepository(GalleryAppContext context)
     : base(context)
 {
     this.context = context;
 }
Esempio n. 3
0
 public DbRepository(GalleryAppContext context)
 {
     this.context = context;
 }