public async Task <IActionResult> DeleteTeacherForInstitute(Guid instituteId, Guid teacherId)
        {
            if (!await _instituteRepository.InstituteExistsAsync(instituteId))
            {
                return(NotFound());
            }

            var teacherEntity = await _instituteRepository.GetTeacherAsync(instituteId, teacherId);

            if (teacherEntity == null)
            {
                return(NotFound());
            }
            _instituteRepository.DeleteTeacher(teacherEntity);

            await _instituteRepository.SaveAsync();

            return(NoContent());
        }