public ActionResult Edit(Proposal prop)
 {
     _repository.Proposals.Update(prop);
     _repository.Save();
     return RedirectToAction("Index");
 }
 public ActionResult Create(Proposal proposal)
 {
     _repository.Proposals.Insert(proposal);
     _repository.Save();
     return RedirectToAction("Details", new {proposalId = proposal.Id});
 }