public Task <IEnumerable <PortfolioEntry> > GetPorfolio() { PortfolioDBContext service = new PortfolioDBContext(); var portfolios = service.GeneratePortfoliosAsync(name, model); return(portfolios); }
public Task <IEnumerable <PortfolioTransaction> > GetTransactionsList() { PortfolioDBContext service = new PortfolioDBContext(); var transactions = service.GetPortfolioTransactionsAsync(name, model); return(transactions); }
public ContactService(PortfolioDBContext context) { _context = context; }