public IActionResult PostTypeofEducation(TypeOfEducation data)
        {
            try
            {
                var res = _repository.AddTypeOfEducation(data);

                if (res == -1)
                {
                    return(Conflict(409));
                }

                return(Ok(res));
            }
            catch (Exception error)
            {
                return(BadRequest(error));
            }
        }