public async Task <IActionResult> CheckProjectCodeAvailability(int id) { bool value = await _projectRepository.CheckIfProjectCodeExists(id); return(Ok(!value)); }