public EFRepository(IMeetMeDbContext context) { Guard.WhenArgument(context, "DbContext").IsNull().Throw(); this.context = context; this.set = this.context.Set <T>(); }
public UnitOfWork(IMeetMeDbContext context) { Guard.WhenArgument(context, "DbContext").IsNull().Throw(); this.context = context; }