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());
 }