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

            db.Recruitment_Rounds.Remove(recruitment_Rounds);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "RoundID,RoundName,RoundKey,IsActive")] Recruitment_Rounds recruitment_Rounds)
 {
     if (ModelState.IsValid)
     {
         db.Entry(recruitment_Rounds).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(recruitment_Rounds));
 }
        public ActionResult Create([Bind(Include = "RoundID,RoundName,RoundKey,IsActive")] Recruitment_Rounds recruitment_Rounds)
        {
            if (ModelState.IsValid)
            {
                db.Recruitment_Rounds.Add(recruitment_Rounds);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

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

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