public ActionResult DeleteConfirmed(int id)
        {
            HandyMansService handyMansService = db.HandyMansServices.Find(id);

            db.HandyMansServices.Remove(handyMansService);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "HandyMansServiceID,Description")] HandyMansService handyMansService)
 {
     if (ModelState.IsValid)
     {
         db.Entry(handyMansService).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(handyMansService));
 }
        public ActionResult Create([Bind(Include = "HandyMansServiceID,Description")] HandyMansService handyMansService)
        {
            if (ModelState.IsValid)
            {
                db.HandyMansServices.Add(handyMansService);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

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

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