Пример #1
0
 public void Load()
 {
     CleanUp();
     _memberService = new MemberService();
     _pervisitSubscriptionService = new PervisitSubscriptionService();
     _transactionService          = new TransactionService();
 }
Пример #2
0
        public PervisitSubscriptionViewModel()
        {
            CleanUp();
            _pervisitSubscriptionService = new PervisitSubscriptionService();
            _memberService = new MemberService();

            LoadPackages();
            CheckRoles();

            PervisitSubscriptionText = "Pervisit Entry";
            //Messenger.Default.Register<MemberDTO>(this, (message) => { SelectedMember = message; });
            AddNewPervisitSubscription();
        }