void loadData() { viewPromotion.DataSource = PromotionRepositories.getAllPromo(); viewPromotion.DataBind(); }
public static List <Promotion> getAll() { return(PromotionRepositories.getAllPromo()); }
void loadData() { viewPromotion.DataSource = PromotionRepositories.getAllPromo(); viewPromotion.DataBind(); }
public static List <Promotion> getAll() { return(PromotionRepositories.getAllPromo()); }