protected Repository(DesafioDbContext db) { Db = db; DbSet = db.Set <TEntity>(); }
public void Adicionar(Familia obj) => _context.Set <Familia>().Add(obj);