public IEnumerable<BuybackResult> SearchPaged(BuybackResultQuery queryObject, int pageSize, int pageNumber)
 {
     throw new NotImplementedException();
 }
 public List<BuybackResult> Search(BuybackResultQuery queryObject)
 {
     WherePredicate = buybackQueryProcessorFactory.Create(queryObject).ProcessAll();
     var query = FormQuery();
     using (var connection = new SqlConnection(ConfigurationManager.ConnectionStrings["ABS-SQL"].ConnectionString))
     {
         return connection.Query<BuybackResult>(query).ToList();
     }
 }
 private BuybackQueryProcessor(BuybackResultQuery buybackResultQuery)
 {
     this.buybackResultQuery = buybackResultQuery;
 }
 public static BuybackQueryProcessor Instance(BuybackResultQuery buybackResultQuery)
 {
     return new BuybackQueryProcessor(buybackResultQuery);
 }
 public IBuybackQueryProcessor Create(BuybackResultQuery buybackQuery)
 {
     return BuybackQueryProcessor.Instance(buybackQuery);
 }