From 5bd3381f7b528e9198c6c49104b3d117074ce773 Mon Sep 17 00:00:00 2001 From: ValAnn Date: Wed, 1 May 2024 12:22:38 +0400 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B7=D0=B0=D0=B1=D1=8B=D1=82=D1=8B=D1=85=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B5?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Hospital/HospitalDatabaseImplement/Models/Disease.cs | 2 +- Hospital/HospitalDatabaseImplement/Models/Doctor.cs | 2 +- Hospital/HospitalDatabaseImplement/Models/Patient.cs | 2 +- Hospital/HospitalDatabaseImplement/Models/Recipe.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Hospital/HospitalDatabaseImplement/Models/Disease.cs b/Hospital/HospitalDatabaseImplement/Models/Disease.cs index 674b2fb..602b750 100644 --- a/Hospital/HospitalDatabaseImplement/Models/Disease.cs +++ b/Hospital/HospitalDatabaseImplement/Models/Disease.cs @@ -40,7 +40,7 @@ namespace HospitalDatabaseImplement.Models } return new Disease() { - //Id = model.Id, + Id = model.Id, Name = model.Name, Description = model.Description, DoctorId = model.DoctorId diff --git a/Hospital/HospitalDatabaseImplement/Models/Doctor.cs b/Hospital/HospitalDatabaseImplement/Models/Doctor.cs index 7baf5ab..3a04347 100644 --- a/Hospital/HospitalDatabaseImplement/Models/Doctor.cs +++ b/Hospital/HospitalDatabaseImplement/Models/Doctor.cs @@ -53,7 +53,7 @@ namespace HospitalDatabaseImplement.Models } return new Doctor() { - //Id = model.Id, + Id = model.Id, Login = model.Login, PhoneNumber = model.PhoneNumber, Password = model.Password, diff --git a/Hospital/HospitalDatabaseImplement/Models/Patient.cs b/Hospital/HospitalDatabaseImplement/Models/Patient.cs index bb05c9d..ac46c49 100644 --- a/Hospital/HospitalDatabaseImplement/Models/Patient.cs +++ b/Hospital/HospitalDatabaseImplement/Models/Patient.cs @@ -72,7 +72,7 @@ namespace HospitalDatabaseImplement.Models { return new Patient() { - // Id = model.Id, + Id = model.Id, FIO = model.FIO, Address = model.Address, diff --git a/Hospital/HospitalDatabaseImplement/Models/Recipe.cs b/Hospital/HospitalDatabaseImplement/Models/Recipe.cs index 19f5ca0..5a564d8 100644 --- a/Hospital/HospitalDatabaseImplement/Models/Recipe.cs +++ b/Hospital/HospitalDatabaseImplement/Models/Recipe.cs @@ -52,7 +52,7 @@ namespace HospitalDatabaseImplement.Modelss { return new Recipe() { - //Id = model.Id, + Id = model.Id, IssueDate = model.IssueDate, Description = model.Description, DiseaseId = model.DiseaseId,