representative
This commit is contained in:
parent
c87330a032
commit
7536bbd31d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
||||||
{
|
{
|
||||||
_employerId = (string)e.Value!;
|
_employerId = (string)e.Value!;
|
||||||
employer = await db.Persons.AsNoTracking().SingleOrDefaultAsync(s => s.Pesel == _employerId) as IEntity ?? await
|
employer = await db.Persons.AsNoTracking().SingleOrDefaultAsync(s => s.Pesel == _employerId) as IEntity ?? await
|
||||||
db.Companies.AsNoTracking().SingleOrDefaultAsync(s => s.Nip == _employerId);
|
db.Companies.AsNoTracking().Include(i => i.Representative).SingleOrDefaultAsync(s => s.Nip == _employerId);
|
||||||
StateHasChanged();
|
StateHasChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue