public PortfolioRepository(PSCContext context) { _context = context; _portfolioEntity = context.Set <Portfolio>(); }
public SharesRepository(PSCContext context) { _context = context; _sharesEntity = context.Set <Share>(); }