public List <TreatyItem> Gettreatyitems() { TreatyDbContext db = new TreatyDbContext(); List <TreatyItem> treaties = db.TreatyItems.ToList(); return(treaties); }
public List <Treaty> Get() { TreatyDbContext db = new TreatyDbContext(); List <Treaty> treaties = db.Treatys.ToList(); return(treaties); }