public bool delete_techno(int id)
 {
     using (english_projectEntities db = new english_projectEntities())
     {
         technos t = db.technos.Find(id);
         try
         {
             db.technos.Remove(t);
             db.SaveChanges();
         }
         catch
         {
             return(false);
         }
         return(true);
     }
 }
 public bool add_techno(string techno_name, bool techno_status, int users_id)
 {
     using (english_projectEntities db = new english_projectEntities())
     {
         technos x = db.technos.Add(new technos {
             techno_name = techno_name, techno_status = techno_status, users_id = users_id
         });
         try
         {
             db.SaveChanges();
         }
         catch
         {
             return(false);
         }
         return(true);
     }
 }
 public bool update_techno(int id, string techno_name, bool techno_status, int users_id)
 {
     using (english_projectEntities db = new english_projectEntities())
     {
         technos t = db.technos.Find(id);
         t.techno_name   = techno_name;
         t.techno_status = techno_status;
         t.users_id      = users_id;
         try
         {
             db.SaveChanges();
         }
         catch
         {
             return(false);
         }
         return(true);
     }
 }