Exemplo n.º 1
0
        public IActionResult GetAllTapes([FromQuery] DateTime?loanDate = null)
        {
            if (loanDate != null)
            {
                return(Ok(_tapeService.GetLoanReportForTapes((DateTime)loanDate)));
            }

            return(Ok(_tapeService.GetAllTapes()));
        }