private void searchPromotion() { var result = PromotionController.SearchPromotion(null, txtTitle.Text); rptPromotions.DataSource = result; rptPromotions.DataBind(); }
private void bindPromotionList() { var result = PromotionController.SearchPromotion(null, null); rptPromotions.DataSource = result; rptPromotions.DataBind(); }