public ActionResult ViewShipment(int id) { using (var cRepository = new CollateralRepository()) { return(View(cRepository.GetOrderShipment(id))); } }