public ClienteRepository(OnlinePremiosContext context) : base(context) { this._ctx = context; }
public ProdutoRepository(OnlinePremiosContext context) : base(context) { this._ctx = context; }
// Precisa receber o contexto, pois como uma classe // abstrata não pode ser instanciada, apenas herdada. protected RepositoryGeneric(OnlinePremiosContext ctx) { this._context = ctx; }
public CotaItemRepository(OnlinePremiosContext context) : base(context) { this._ctx = context; }
public SorteioRepository(OnlinePremiosContext context) : base(context) { _ctx = context; }