public async Task <ActionResult> DeleteConfirmed(int id)
        {
            AbstractSubmission abstractSubmission = await db.Abstracts.FindAsync(id);

            db.Abstracts.Remove(abstractSubmission);
            await db.SaveChangesAsync();

            return(RedirectToAction("Index"));
        }
        public async Task <ActionResult> Edit([Bind(Include = "Id,FirstName,LastName,EMail,ContactNumber,Title,Description")] AbstractSubmission abstractSubmission)
        {
            if (ModelState.IsValid)
            {
                db.Entry(abstractSubmission).State = EntityState.Modified;
                await db.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(abstractSubmission));
        }
        public async Task <ActionResult> Create([Bind(Include = "Id,FirstName,LastName,EMail,ContactNumber,Title,Description")] AbstractSubmission abstractSubmission)
        {
            if (ModelState.IsValid)
            {
                db.Abstracts.Add(abstractSubmission);
                await db.SaveChangesAsync();

                return(RedirectToAction("Thankyou"));
            }

            return(View(abstractSubmission));
        }
        // GET: Abstract/Edit/5
        public async Task <ActionResult> Edit(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            AbstractSubmission abstractSubmission = await db.Abstracts.FindAsync(id);

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