фикс конфликта
This commit is contained in:
commit
882ee2f373
@ -37,8 +37,4 @@ public class Doctor
|
||||
SpecializationLevel = specializationLevel
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -95,8 +95,6 @@ public class WordBuilder
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void Build()
|
||||
{
|
||||
using var wordDocument = WordprocessingDocument.Create(_filePath,
|
||||
|
@ -54,7 +54,6 @@ public class DoctorRepository : IDoctorRepository
|
||||
{
|
||||
using var connection = new NpgsqlConnection(_connectionString.ConnectionString);
|
||||
|
||||
// Проверяем, существует ли запись
|
||||
var existingDoctor = connection.QueryFirstOrDefault<Doctor>("SELECT * FROM Doctors WHERE id = @Id", new { doctor.Id });
|
||||
if (existingDoctor == null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user