Beispiel #1
0
 public Controller()
 {
     //AmuletRep = new AmuletRepository();
     //BookRep = new BookRepository();
     //CourseRep = new CourseRepository();
     //MerchRep = new MerchandiseRepository();
     ValueableRepo = new ValuableRepository();
 }
Beispiel #2
0
        //IMPLEMENT CODE BELOW
        public void Save()
        {
            ValuableRepository v  = new ValuableRepository();
            StreamWriter       sr = new StreamWriter("TestFile01.txt", false);

            sr.WriteLine(v);
            sr.Close();
        }