コード例 #1
0
        public ActionResult <IEnumerable <Quote> > GetAll([FromQuery] int count = 0)
        {
            IEnumerable <Quote> quotes = _quoteService.GetAll(count);

            return(Ok(quotes));
        }
コード例 #2
0
 public IEnumerable <QuoteModel> GetQuotes()
 {
     return(_quoteService.GetAll());
 }