From e5d52c65a576a014ca30838f1354ef9704d134c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=91=D0=B0=D0=BA=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D1=81=D0=BA=D0=B0=D1=8F?= Date: Thu, 30 May 2024 02:44:20 +0400 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BB=D0=B0=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D0=B5=D0=B2=D1=80=D0=BA=D1=83=20=D0=B0=D0=B9=D0=B4?= =?UTF-8?q?=D0=B8=D1=88=D0=BD=D0=B8=D0=BA=D0=B0=20=D0=BF=D1=80=D0=BE=D1=86?= =?UTF-8?q?=D0=B5=D0=B4=D1=83=D1=80=D1=8B=20=D0=B2=20=D1=81=D0=BE=D0=B7?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=B8=D0=B8=20=D0=BB=D0=B5=D0=BA=D0=B0=D1=80?= =?UTF-8?q?=D1=81=D1=82=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs index 6b3094f..9c7f2be 100644 --- a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs @@ -95,10 +95,6 @@ namespace PolyclinicBusinessLogic.BusinessLogics { throw new ArgumentNullException("Какой-то неправильный идентификатор симптома...", nameof(model)); } - if (model.ProcedureId <= 0) - { - throw new ArgumentNullException("Какой-то неправильный идентификатор процедуры...", nameof(model)); - } if (string.IsNullOrEmpty(model.Name)) { throw new ArgumentNullException("Нет названия у препарата", nameof(model.Comment));