Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Marat Pavlov
/
AlexAdapter
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
551f077b
authored
Mar 21, 2022
by
AlexNasyr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document not found
parent
e2181fab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
SocialMinistryDataExchange/Model/DB/Center/Контингент_center_Context.cs
SocialMinistryDataExchange/Model/DB/Center/Контингент_center_Context.cs
View file @
551f077b
usin
g
Microsoft.EntityFrameworkCore
;
usin
g
Microsoft.EntityFrameworkCore
;
...
...
@@ -42,7 +42,10 @@ namespace SocialMinistryDataExchange.Model.DB.Center {
// ФормаОбученияКод, ФормаОбученияНаименование
,
ФормаОбученияКод
=
cp
.
ФормаОбучения
Navigation
.
Код
,
ФормаОбученияНаименование
=
cp
.
ФормаОбучения
Navigation
.
Наименование
}).
ToList
();
// записи не найдены
if
(
records
.
Count
==
0
)
{
records
.
Add
(
new
SMResponceTemp
()
{
rowguid_eais
=
doc
.
rowguid_eais
,
СерияДокумента
=
doc
.
document_seria
,
НомерДокумента
=
doc
.
document_number
});
}
return
Task
.
FromResult
(
FormatResponce
(
this
,
records
));
}
catch
(
Exception
ex
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment