public virtual ActionResult Edit( Consumer consumer )
 {
     if (ModelState.IsValid)
     {
         db.Entry(consumer).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(consumer);
 }
        public virtual ActionResult Create( Consumer consumer )
        {
            if (ModelState.IsValid)
            {
                db.Consumers.Add(consumer);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(consumer);
        }