diff --git a/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs b/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs
index 7f7cd0c..affaa37 100644
--- a/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs
+++ b/TravelAgency/TravelAgencyBusinessLogic/BusinessLogics/UserLogic.cs
@@ -106,7 +106,7 @@ namespace TravelAgencyBusinessLogic.BusinessLogics
{
throw new ArgumentNullException("Нет номера телефона пользователя", nameof(model.PhoneNumber));
}
- if (string.IsNullOrEmpty(model.Password))
+ if (string.IsNullOrEmpty(model.Password) || model.Password.Length < 8 || model.Password.Length > 50)
{
throw new ArgumentNullException("Нет пароля пользователя", nameof(model.Password));
}
diff --git a/TravelAgency/TravelAgencyWebApp/Views/Excursion/Excursions.cshtml b/TravelAgency/TravelAgencyWebApp/Views/Excursion/Excursions.cshtml
index cf9d59b..4df1c02 100644
--- a/TravelAgency/TravelAgencyWebApp/Views/Excursion/Excursions.cshtml
+++ b/TravelAgency/TravelAgencyWebApp/Views/Excursion/Excursions.cshtml
@@ -67,7 +67,7 @@
-
+
|
}
diff --git a/TravelAgency/TravelAgencyWebApp/Views/ExcursionGroup/ExcursionGroups.cshtml b/TravelAgency/TravelAgencyWebApp/Views/ExcursionGroup/ExcursionGroups.cshtml
index 18457cc..ab2fac5 100644
--- a/TravelAgency/TravelAgencyWebApp/Views/ExcursionGroup/ExcursionGroups.cshtml
+++ b/TravelAgency/TravelAgencyWebApp/Views/ExcursionGroup/ExcursionGroups.cshtml
@@ -61,7 +61,7 @@
-
+
|
}
diff --git a/TravelAgency/TravelAgencyWebApp/Views/Home/Diagrams.cshtml b/TravelAgency/TravelAgencyWebApp/Views/Home/Diagrams.cshtml
index 73c40ff..699ea93 100644
--- a/TravelAgency/TravelAgencyWebApp/Views/Home/Diagrams.cshtml
+++ b/TravelAgency/TravelAgencyWebApp/Views/Home/Diagrams.cshtml
@@ -6,7 +6,7 @@
Диаграммы
- Прибыль
+ Прибыль за текущий год
Популярность туров
diff --git a/TravelAgency/TravelAgencyWebApp/Views/Tour/Tours.cshtml b/TravelAgency/TravelAgencyWebApp/Views/Tour/Tours.cshtml
index 8c58975..da2c7d3 100644
--- a/TravelAgency/TravelAgencyWebApp/Views/Tour/Tours.cshtml
+++ b/TravelAgency/TravelAgencyWebApp/Views/Tour/Tours.cshtml
@@ -67,7 +67,7 @@
- |