Beispiel #1
0
        public App()
        {
            InitializeComponent();

            //Infrastructure
            ContactRamRepository repository = new ContactRamRepository();

            //Domain.Service
            ContactService contactService = new ContactService(repository);

            //Application Layer
            ContactAppService = new ContactMobileAppService(contactService);

            MainPage = new NavigationPage(new ListContactsPage());
        }
 public ContactCommandHandler(IContactService contactService, ContactMobileAppService contactMobileAppService)
 {
     _contactService          = contactService;
     _contactMobileAppService = contactMobileAppService;
 }