public SubscriptionRemove()
 {
     InitializeComponent();
     _subscriptionRepo = new SubscriptionRepo();
     _index            = 0;
     SetData();
 }
Esempio n. 2
0
        public SubscriberAdd()
        {
            InitializeComponent();
            var personRepo = new PersonRepo();

            _subscriptionRepo = new SubscriptionRepo();
            _subscriberRepo   = new SubscriberRepo(personRepo);
            _firstIteration   = true;
            NewForm();
        }
        public SubscriberEdit()
        {
            InitializeComponent();
            var personRepo = new PersonRepo();

            _subscriberRepo   = new SubscriberRepo(personRepo);
            _subscriptionRepo = new SubscriptionRepo();
            _index            = 0;
            _firstIteration   = true;
            SetData();
        }
 public SubscriptionAdd()
 {
     InitializeComponent();
     _subscriptionRepo = new SubscriptionRepo();
 }