예제 #1
0
        public Task <IEnumerable <PortfolioEntry> > GetPorfolio()
        {
            PortfolioDBContext service = new PortfolioDBContext();
            var portfolios             = service.GeneratePortfoliosAsync(name, model);

            return(portfolios);
        }
예제 #2
0
        public Task <IEnumerable <PortfolioTransaction> > GetTransactionsList()
        {
            PortfolioDBContext service = new PortfolioDBContext();
            var transactions           = service.GetPortfolioTransactionsAsync(name, model);

            return(transactions);
        }
예제 #3
0
 public ContactService(PortfolioDBContext context)
 {
     _context = context;
 }