//pass repair id public JsonResult GetFiles(Guid Id) { try { var itemFounds = FileUploadManager.GetByRepair(Id); return(Json(new { Result = "OK", Records = itemFounds })); } catch (Exception ex) { return(Json(new { Result = "ERROR", Message = ex.Message })); } }