public ActionResult DeleteConfirmed(Guid id)
        {
            Applicant_Profiles applicant_Profiles = db.Applicant_Profiles.Find(id);

            db.Applicant_Profiles.Remove(applicant_Profiles);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "Id,Login,Current_Salary,Current_Rate,Currency,Country_Code,State_Province_Code,Street_Address,City_Town,Zip_Postal_Code,Time_Stamp")] Applicant_Profiles applicant_Profiles)
 {
     if (ModelState.IsValid)
     {
         db.Entry(applicant_Profiles).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.Login        = new SelectList(db.Security_Logins, "Id", "Login", applicant_Profiles.Login);
     ViewBag.Country_Code = new SelectList(db.System_Country_Codes, "Code", "Name", applicant_Profiles.Country_Code);
     return(View(applicant_Profiles));
 }
        // GET: Applicant_Profiles/Details/5
        public ActionResult Details(Guid?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Applicant_Profiles applicant_Profiles = db.Applicant_Profiles.Find(id);

            if (applicant_Profiles == null)
            {
                return(HttpNotFound());
            }
            return(View(applicant_Profiles));
        }
        // GET: Applicant_Profiles/Edit/5
        public ActionResult Edit(Guid?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Applicant_Profiles applicant_Profiles = db.Applicant_Profiles.Find(id);

            if (applicant_Profiles == null)
            {
                return(HttpNotFound());
            }
            ViewBag.Login        = new SelectList(db.Security_Logins, "Id", "Login", applicant_Profiles.Login);
            ViewBag.Country_Code = new SelectList(db.System_Country_Codes, "Code", "Name", applicant_Profiles.Country_Code);
            return(View(applicant_Profiles));
        }