public JsonResult EditClaimDeadline(TenderClaim claim)
 {
     var isComplete = false;
     try
     {
         bool dateValid = !string.IsNullOrEmpty(claim.ClaimDeadline.ToShortDateString());
         if (dateValid)
         {
             var db = new DbEngine();
             db.UpdateClaimDeadline(claim.Id, claim.ClaimDeadline);
             isComplete = true;
         }
     }
     catch (Exception)
     {
         isComplete = false;
     }
     return Json(new { IsComplete = isComplete });
 }