public ActionResult Create(CustomersAllergies customersallergies)
        {
            if (ModelState.IsValid)
            {
                db.tabCustomersAllergies.Add(customersallergies);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            ViewBag.CustomerId = new SelectList(db.tabCustomers, "CustomerId", "FirstName", customersallergies.CustomerId);
            return View(customersallergies);
        }
 public ActionResult Edit(CustomersAllergies customersallergies)
 {
     if (ModelState.IsValid)
     {
         db.Entry(customersallergies).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.CustomerId = new SelectList(db.tabCustomers, "CustomerId", "FirstName", customersallergies.CustomerId);
     return View(customersallergies);
 }