Exemplo n.º 1
0
        public ActionResult <IEnumerable <PortfolioModel> > Get(string isin, DateTime date)
        {
            var portfolio = _portfolioService.GetByISINAndDate(isin, date).ToList();

            if (portfolio.Count == 0)
            {
                return(NotFound());
            }
            return(portfolio);
        }