diff --git a/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs b/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs index 0f1ffc3..7f7cd0c 100644 --- a/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs +++ b/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs @@ -104,7 +104,7 @@ namespace TravelAgencyBusinessLogic.BusinessLogics } if (string.IsNullOrEmpty(model.PhoneNumber)) { - throw new ArgumentNullException("Нет номера телефона пользователя", nameof(model.Email)); + throw new ArgumentNullException("Нет номера телефона пользователя", nameof(model.PhoneNumber)); } if (string.IsNullOrEmpty(model.Password)) {