public IEnumerable <QuoteDto> SearchAll(string searchString) { using (var agent = new QuoteAgent()) return(agent.Search(searchString, searchString)); }
public IEnumerable <QuoteDto> SearchByText(string searchString) { using (var agent = new QuoteAgent()) return(agent.Search(searchString, null)); }
public IEnumerable <QuoteDto> SearchByKeyword(string keywords) { using (var agent = new QuoteAgent()) return(agent.Search(null, keywords)); }
public List <Quote> SearchQuotes(string searchText) { return(QuoteAgent.Search(searchText)); }