Esempio n. 1
0
        /// <summary>
        /// Method to mitigate login attempt to the LoginController
        /// </summary>
        public void LoginAccount()
        {
            OfferPage offerPage = new OfferPage();

            offerPage.PopulateWithAllOffers();
            this.NavigationService.Navigate(offerPage);
            MainWindow.ShowUI();
        }
Esempio n. 2
0
 /// <summary>
 /// Constructor for the DiscountPage view controller
 /// </summary>
 public OfferPage()
 {
     InitializeComponent();
     offerWindow = this;
 }