public List <Pokemon> GetList() { using (var db = new POKEDEXPOKEMONContext()) { return(db.Pokemon.ToList()); } }
// list query public GameLogic() { using (var db = new POKEDEXPOKEMONContext()) { Answers = (from p in db.Pokemon select p).ToList(); } }