public async Task <ActionResult> DeleteConfirmed(int id)
        {
            E_Application e_Application = await db.E_Application.FindAsync(id);

            db.E_Application.Remove(e_Application);
            await db.SaveChangesAsync();

            return(RedirectToAction("Index"));
        }
        public async Task <ActionResult> Edit([Bind(Include = "Appl_ID,Appl_Course,Appl_Img,Appl_Name,Appl_Email,Appl_DOB,Appl_Contact,Appl_Fname,Appl_Mname,Appl_Address,Appl_City,Appl_State,Appl_Pin,Appl_ParentEmail,Appl_Qualification1,Appl_Qualification2,Appl_Qualification3,Appl_Lang1,Appl_Lang2,Appl_Lang3,Appl_Lang4,Appl_Relation1,Appl_Relation2,Appl_Relation3,Appl_Relation4,Appl_ExtraActivity,Appl_ExtraInfo,Appl_Date")] E_Application e_Application)
        {
            if (ModelState.IsValid)
            {
                db.Entry(e_Application).State = EntityState.Modified;
                await db.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(e_Application));
        }
        // GET: eApplication/Delete/5
        public async Task <ActionResult> Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            E_Application e_Application = await db.E_Application.FindAsync(id);

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