public WriteRepositoryEF(SWAutoresDataContext ctx) { _ctx = ctx; _db = _ctx.Set <TEntity>(); }
public AutorRepository(SWAutoresDataContext context) { _context = context; }