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,