예제 #1
0
        public void InsertSubscription(SubscriptionWrapper subscription)
        {
            SubscriptionAccess sa = new SubscriptionAccess();

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

            sa.DeleteSubscriptions(subscription);
        }
예제 #4
0
        public void AddSubscription(SubscriptionWrapper sub)
        {
            SubscriptionTableAdapter adapter = new SubscriptionTableAdapter();

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