Commit 982c961b by AlexNasyr

transit

parent 65c850c9
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
...@@ -49,6 +49,7 @@ namespace SocialMinistryDataExchange.Model.DB.Center { ...@@ -49,6 +49,7 @@ namespace SocialMinistryDataExchange.Model.DB.Center {
private List<SMResponce> FormatResponce(List<SMResponceTemp> records) { private List<SMResponce> FormatResponce(List<SMResponceTemp> records) {
List<SMResponce> responce = new(); List<SMResponce> responce = new();
if (records.Count > 0) { if (records.Count > 0) {
// записи найдены
foreach (SMResponceTemp record in records) { foreach (SMResponceTemp record in records) {
var SMRecord = new SMResponce(); var SMRecord = new SMResponce();
SMRecord.rowguid_eais = record.rowguid_eais; SMRecord.rowguid_eais = record.rowguid_eais;
...@@ -74,6 +75,7 @@ namespace SocialMinistryDataExchange.Model.DB.Center { ...@@ -74,6 +75,7 @@ namespace SocialMinistryDataExchange.Model.DB.Center {
} }
} }
else { else {
// записи не найдены
} }
return responce; return responce;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment