public IActionResult PostQualification(Qualification data) { try { var res = _repository.AddQualification(data); if (res == -1) { return(Conflict(409)); } return(Ok(res)); } catch (Exception error) { return(BadRequest(error)); } }