public ActionResult Create(PackageRateLogDetails packageratelogdetails)
        {
            if (ModelState.IsValid)
            {
                db.PackageRateLogDetails.Add(packageratelogdetails);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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