Beispiel #1
0
 public BookService(LibraryServiceDbContext dbContext) : base(dbContext)
 {
     this.dbContext = dbContext;
 }
Beispiel #2
0
 public AuthorService(LibraryServiceDbContext dbContext) : base(dbContext)
 {
     this.dbContext = dbContext;
 }
Beispiel #3
0
 public PublisherService(LibraryServiceDbContext dbContext) : base(dbContext)
 {
     this.dbContext = dbContext;
 }
Beispiel #4
0
 protected BaseService(LibraryServiceDbContext dbContext)
 {
     this.dbContext = dbContext;
     dbSet          = dbContext.Set <TEntity>();
 }