This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Concurrent; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace MongoDBApp.Utility | |
| { | |
| public class Messenger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static List<Country> countryList = new List<Country>(); | |
| public void LoadDb() | |
| { | |
| var countrycollection = StartCountryConnection(); | |
| try | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace MongoDBApp.DAL | |
| { | |
| public class CustomerRepository : IRepository<CustomerModel> | |
| { | |
| //Database connection string | |
| private const string connectionString = "mongodb://janedoe:password123;@ds00000.mongolab.com:1234/orders"; | |
| private static readonly CustomerRepository instance = new CustomerRepository(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.Practices.Prism.Commands; | |
| using MongoDBApp.Common; | |
| using MongoDBApp.Models; | |
| using MongoDBApp.Services; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.ComponentModel; | |
| using System.Linq; | |
| using System.Runtime.CompilerServices; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using MongoDBApp.DAL; | |
| using MongoDBApp.Models; | |
| using MongoDBApp.Services; | |
| using MongoDBApp.ViewModels; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Windows; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using GalaSoft.MvvmLight; | |
| using GalaSoft.MvvmLight.Command; | |
| using LC_Points.Model; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.Windows.Input; | |
| using Windows.UI.Xaml.Controls; | |
| using System.Linq; | |
| using Windows.UI.Popups; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Page x:Class="LC_Points.MainPage" | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| xmlns:Core="using:Microsoft.Xaml.Interactions.Core" | |
| xmlns:Interactivity="using:Microsoft.Xaml.Interactivity" | |
| xmlns:Series="using:WinRTXamlToolkit.Controls.DataVisualization.Charting" | |
| xmlns:charting="using:WinRTXamlToolkit.Controls.DataVisualization.Charting" | |
| xmlns:controls="using:WinRTXamlToolkit.Controls" | |
| xmlns:converter="using:LC_Points.Converter" | |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using GalaSoft.MvvmLight; | |
| using GalaSoft.MvvmLight.Command; | |
| using LC_Points.Model; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.Windows.Input; | |
| using Windows.UI.Xaml.Controls; | |
| using System.Linq; | |
| using Windows.UI.Popups; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using LC_Points.View; | |
| using LC_Points.ViewModel; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Runtime.InteropServices.WindowsRuntime; | |
| using Windows.Foundation; | |
| using Windows.Foundation.Collections; | |
| using Windows.UI.Xaml; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Text; | |
| namespace LC_Points.Model | |
| { | |
| public class ScoreModel : INotifyPropertyChanged | |
| { |