public EfRepository(ICarManiacsDbContext context) { Guard.WhenArgument(context, "dbContext").IsNull().Throw(); this.context = context; this.dbSet = this.context.Set <T>(); }
public EfUnitOfWorkMock(ICarManiacsDbContext context) : base(context) { }
public EfUnitOfWork(ICarManiacsDbContext context) { Guard.WhenArgument(context, "dbContext").IsNull().Throw(); this.dbContext = context; }