public JsonResult CheckProjectCodeExists(string ProjectCode) { try { var isProjectCodeExists = false; if (ProjectCode != null) { isProjectCodeExists = _IProject.CheckProjectCodeExists(ProjectCode); } if (isProjectCodeExists) { return(Json(data: true)); } else { return(Json(data: false)); } } catch (Exception) { throw; } }