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