public IActionResult PutQualification(int id, [FromBody] Qualification data) { try { var res = _repository.UpdateQualification(id, data); if (!res) { return(Conflict(409)); } return(Ok(res)); } catch (Exception error) { return(BadRequest(error)); } }