public Repository(MaintainerApiContext context) { _context = context; _entity = _context.Set <TEntity>(); }