public List <Item> GetItems()
 {
     using (MyDataContext context = new MyDataContext())
     {
         return(context.Items.ToList());
     }
 }
 public void Save(Item newItem)
 {
     using (MyDataContext context = new MyDataContext())
     {
         context.Items.Add(newItem);
         context.SaveChanges();
     }
 }