public OrdersRepository() { dbContext = new britehouseDBContext(); ordersCollection = dbContext.database.GetCollection <Orders>("orders"); }
public PeopleRepository() { dbContext = new britehouseDBContext(); peopleCollection = dbContext.database.GetCollection <People>("people"); }
public ReturnsRepository() { dbContext = new britehouseDBContext(); returnsCollection = dbContext.database.GetCollection <Returns>("returns"); }