public void InsertSubscription(SubscriptionWrapper subscription) { SubscriptionAccess sa = new SubscriptionAccess(); sa.AddSubscription(subscription); }
public void DeleteSubscriptions(SubscriptionWrapper sub) { SubscriptionTableAdapter adapter = new SubscriptionTableAdapter(); adapter.Delete(sub.UnitCode, sub.UserId); }
public void DeleteSubscription(SubscriptionWrapper subscription) { SubscriptionAccess sa = new SubscriptionAccess(); sa.DeleteSubscriptions(subscription); }
public void AddSubscription(SubscriptionWrapper sub) { SubscriptionTableAdapter adapter = new SubscriptionTableAdapter(); adapter.Insert(sub.UnitCode, sub.UserId); }