public ActionResult DeleteConfirmed(int id)
        {
            WFBProcessData_GasProduced wFBProcessData_GasProduced = db.WFBProcessData_GasProduced.Find(id);

            db.WFBProcessData_GasProduced.Remove(wFBProcessData_GasProduced);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "Id,GasFlowParameter,GasFlow,ReportDate,UploadTime,TimeStamp,DayOftheWeek")] WFBProcessData_GasProduced wFBProcessData_GasProduced)
 {
     if (ModelState.IsValid)
     {
         db.Entry(wFBProcessData_GasProduced).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(wFBProcessData_GasProduced));
 }
        // GET: WFBProcessData_GasProduced/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            WFBProcessData_GasProduced wFBProcessData_GasProduced = db.WFBProcessData_GasProduced.Find(id);

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