public async Task <SpecializationResponse> SaveAsync(Specialization specialization) { try { await specializationRepository.AddAsync(specialization); await unitOfWork.CompleteAsync(); return(new SpecializationResponse(specialization)); } catch (Exception ex) { return(new SpecializationResponse($"Ошибка при сохранении Специализации: {ex.Message}")); } }