public ActionResult DeleteConfirmed(int id)
        {
            HiringTracker hiringTracker = db.HiringTrackers.Find(id);

            db.HiringTrackers.Remove(hiringTracker);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "HireId,SkillSet,Status")] HiringTracker hiringTracker)
 {
     if (ModelState.IsValid)
     {
         db.Entry(hiringTracker).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(hiringTracker));
 }
        public ActionResult Create([Bind(Include = "HireId,SkillSet,Status")] HiringTracker hiringTracker)
        {
            if (ModelState.IsValid)
            {
                db.HiringTrackers.Add(hiringTracker);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

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

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