public PostRepository(UnitOfWork uow) { ctx = uow.Context; ctx.SetUoWBool(true); }
public PostRepository() { ctx = new EFContext(); }