public ActionResult DeleteConfirmed(int id)
        {
            T_Product_office_text t_Product_office_text = db.T_Product_office_text.Find(id);

            db.T_Product_office_text.Remove(t_Product_office_text);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "Id,textKay,langCode,textValue")] T_Product_office_text t_Product_office_text)
 {
     if (ModelState.IsValid)
     {
         db.Entry(t_Product_office_text).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(t_Product_office_text));
 }
        public ActionResult Create([Bind(Include = "Id,textKay,langCode,textValue")] T_Product_office_text t_Product_office_text)
        {
            if (ModelState.IsValid)
            {
                db.T_Product_office_text.Add(t_Product_office_text);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(t_Product_office_text));
        }
        // GET: T_Product_office_text/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            T_Product_office_text t_Product_office_text = db.T_Product_office_text.Find(id);

            if (t_Product_office_text == null)
            {
                return(HttpNotFound());
            }
            return(View(t_Product_office_text));
        }