public void GetGun() { Guns = new GunCatalog(); Guns.GunGroups = new System.Collections.ObjectModel.ObservableCollection<GunDataGroup>(); guns.GunGroups = DatabaseHelper.ReadAllGeneric<GunDataGroup>(); ammo = new AmmoList(); ammo.Ammo = new List<Ammo>(); ammo.Ammo = DatabaseHelper.ReadAllGeneric<Ammo>().ToList(); scopes = new ScopeList(); scopes.Scopes = new List<Scope>(); scopes.Scopes = DatabaseHelper.ReadAllGeneric<Scope>().ToList(); }
public void GetOtherGuns() { groups = new GunCatalog(); groups.GunGroups = DbHelper.ReadAllGeneric<GunDataGroup>(); }