public ActionResult Edit([Bind(Include = "id,partNr,orderedDate,requiredDate,quantity,status,derivedFrom,derivedType")] Requirement requirement)
        {
            //try
            //{
            IRequirementService rs = new RequirementService(Settings.Default.db);

            rs.Update(requirement);
            return(RedirectToAction("Index"));
            //}
            //catch
            //{
            //    return View();
            //}
        }