//
 // GET: /Admin/Events/Edit/5
 public ActionResult Edit(int id)
 {
     ProjectLab.Areas.Admin.Models.Events.Events eve = new ProjectLab.Areas.Admin.Models.Events.Events();
     eve = model.GetData(id);
     return View("Edit", eve);
 }
 //
 // GET: /Admin/Events/Details/5
 public ActionResult Details(int id)
 {
     ProjectLab.Areas.Admin.Models.Events.Events eve = new ProjectLab.Areas.Admin.Models.Events.Events();
     eve= model.GetDetails(id);
     return View("Details", eve);
 }
        //
        // GET: /Admin/Events/Delete/5

        public ActionResult Delete(int id)
        {
            ProjectLab.Areas.Admin.Models.Events.Events eve = new ProjectLab.Areas.Admin.Models.Events.Events();
            eve = model.GetData(id);
            return(View("Delete", eve));
        }