Example #1
0
 public MainWindow()
 {
     InitializeComponent();
     _userData = ReadUserData.ReadUserDataFromCsv();
     if (_userData != null)
     {
         PopulateExistingInformation();
     }
 }
        public User GetUser(int id)
        {
            IGetUser getUser = new ReadUserData();

            return(getUser.GetAUser(id));
        }
        public List <User> GetAllUsers()
        {
            IGetAllUsers getAllUsers = new ReadUserData();

            return(getAllUsers.GetAllUsers());
        }