Exemplo n.º 1
0
        public void InsertSubscription(SubscriptionWrapper subscription)
        {
            SubscriptionAccess sa = new SubscriptionAccess();

            sa.AddSubscription(subscription);
        }
Exemplo n.º 2
0
 public void DeleteSubscriptions(SubscriptionWrapper sub)
 {
     SubscriptionTableAdapter adapter = new SubscriptionTableAdapter();
     adapter.Delete(sub.UnitCode, sub.UserId);
 }
Exemplo n.º 3
0
        public void DeleteSubscription(SubscriptionWrapper subscription)
        {
            SubscriptionAccess sa = new SubscriptionAccess();

            sa.DeleteSubscriptions(subscription);
        }
Exemplo n.º 4
0
        public void AddSubscription(SubscriptionWrapper sub)
        {
            SubscriptionTableAdapter adapter = new SubscriptionTableAdapter();

            adapter.Insert(sub.UnitCode, sub.UserId);
        }