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

            db.timelydepot_log.Remove(timelydepot_log);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        //
        // GET: /timelydepot_logAdmin/Details/5

        public ActionResult Details(int id = 0)
        {
            timelydepot_log timelydepot_log = db.timelydepot_log.Find(id);

            if (timelydepot_log == null)
            {
                return(HttpNotFound());
            }
            return(View(timelydepot_log));
        }
 public ActionResult Edit(timelydepot_log timelydepot_log)
 {
     if (ModelState.IsValid)
     {
         db.Entry(timelydepot_log).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(timelydepot_log));
 }
        public ActionResult Create(timelydepot_log timelydepot_log)
        {
            if (ModelState.IsValid)
            {
                db.timelydepot_log.Add(timelydepot_log);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(timelydepot_log));
        }