public IActionResult DeleteQualification(int id) { try { var res = _repository.DeleteQualificationById(id); return(Ok(res)); } catch (Exception error) { return(BadRequest(error)); } }