public UserService(IteaDbContext dbContext) { Repository = new BaseRepository <User>(dbContext); }
public BaseRepository(IteaDbContext dbContext) { this.dbContext = dbContext; dbSet = this.dbContext.Set <T>(); }
public CarriageSService(IteaDbContext dbContext) { Repository = new BaseRepository <Carriage>(dbContext); }
public BuyersService(IteaDbContext dbContext) { Repository = new BaseRepository <Buyers>(dbContext); }
public GenericAsyncRepository(IteaDbContext dbContext) { this.dbContext = dbContext; dbSet = this.dbContext.Set <T>(); }
public ConsumerService(IteaDbContext dbContext) { Repository = new BaseRepository <Consumers>(dbContext); }
public TrainService(IteaDbContext dbContext) { Repository = new BaseRepository <Train>(dbContext); }
public StationService(IteaDbContext dbContext) { Repository = new BaseRepository <Station>(dbContext); }
public TicketService(IteaDbContext dbContext) { Repository = new BaseRepository <Ticket>(dbContext); }