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