public RepositoryGeneric(IgrejaContext igrejaContext) { Entity = igrejaContext.Set <T>(); _igrejaContext = igrejaContext; }
public CategoriaRepository(IgrejaContext context) : base(context) { _context = context; }
public UnitOfWork(IgrejaContext igrejaContext) { _igrejaContext = igrejaContext; Repository = new RepositoryGeneric <T>(_igrejaContext); }