public ActionResult <IEnumerable <Quote> > GetAll([FromQuery] int count = 0)
        {
            IEnumerable <Quote> quotes = _quoteService.GetAll(count);

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