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