Example #1
0
        public GenericRepository(BlablacarDbContext context, IMapper maper)
        {
            DbContext = context.CheckForNull();
            Mapper    = maper.CheckForNull();

            Entities = DbContext.Set <TDto>();

            Entities.Load();
        }
Example #2
0
 public CustomerRepository(BlablacarDbContext context, IMapper mapper)
     : base(context, mapper)
 {
 }
Example #3
0
 public TripRepository(BlablacarDbContext context, IMapper mapper)
     : base(context, mapper)
 {
 }