public RepositoryBase(ContaPagarContext contaPagarContext) { Db = contaPagarContext; DbSet = Db.Set <TEntity>(); }