public List <EntitiesLayer.Territory> GetTerritories() { List <EntitiesLayer.Territory> list = new List <EntitiesLayer.Territory>(); DataAccessLayer.BddGameOfThronesEntities bdd = new BddGameOfThronesEntities(); foreach (DataAccessLayer.Territories te in bdd.Territories) { list.Add(GetTerritory(te, bdd)); } return(list); }
public List <EntitiesLayer.Character> GetCharacters() { List <EntitiesLayer.Character> list = new List <EntitiesLayer.Character>(); DataAccessLayer.BddGameOfThronesEntities bdd = new BddGameOfThronesEntities(); foreach (DataAccessLayer.Characters ch in bdd.Characters) { list.Add(GetCharacter(ch)); } return(list); }
public List <EntitiesLayer.House> GetHouses() { List <EntitiesLayer.House> list = new List <EntitiesLayer.House>(); DataAccessLayer.BddGameOfThronesEntities bdd = new BddGameOfThronesEntities(); foreach (DataAccessLayer.Houses ho in bdd.Houses) { list.Add(GetHouse(ho)); } return(list); }