public bool create(details details)
 {
     using (MyEntities md = new MyEntities())
     {
         try
         {
             details pe = new details();
             // MyEntities pe = new MyEntities();
             pe.ID   = details.ID;
             pe.name = details.name;
             return(true);
         }
         catch
         {
             return(false);
         }
     };
 }
 public bool edit(details details)
 {
     throw new NotImplementedException();
 }
 public bool delete(details details)
 {
     throw new NotImplementedException();
 }