public async Task <DesignQuote> GetDesignQuote(IQuotesRepository quotesRepository) { return((await quotesRepository.GetAllQuotes()).ElementAt(Utils.GetCurrentDisplayIndex())); }
public async Task <IEnumerable <ReadOnlyQuote> > HandleAsync(GetAllQuotes query) { return(await _quotesRepository.GetAllQuotes()); }