public JsonResult CancelOrder(int id)
 {
     using (var cRepository = new CollateralRepository())
     {
         return(Json(cRepository.CancelOrder(id), JsonRequestBehavior.AllowGet));
     }
 }