Ejemplo n.º 1
0
        public IActionResult GetAllStockPricesOfAllCompaniesBetweenDates(DateTime fromDate, DateTime toDate)
        {
            if (fromDate == null || toDate == null)
            {
                return(BadRequest("inputs required"));
            }

            var Data = stockPriceService.GetAllStockPricesOfAllCompaniesBetweenDates(fromDate, toDate);

            return(Ok(Data));
        }