public ActionResult Create(PackageRateLog packageratelog)
        {
            if (ModelState.IsValid)
            {
                db.PackageRateLogs.Add(packageratelog);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(packageratelog);
        }
 public ActionResult Edit(PackageRateLog packageratelog)
 {
     if (ModelState.IsValid)
     {
         db.Entry(packageratelog).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(packageratelog);
 }