public PossessionConsoleUI(PossessionRepository possessions, OwnerRepository owners)
 {
     possession_DB = possessions;
     owner_DB      = owners;
 }
예제 #2
0
 public InventoryDatabase()
 {
     Owners      = new OwnerRepository(DB);
     Possessions = new PossessionRepository(DB);
 }
예제 #3
0
        private void CreatePossession(Possession poss)
        {
            var possRepo = new PossessionRepository();

            possRepo.Add(poss);
        }