จีดลำดับเครื่องราช
This commit is contained in:
parent
d29a54678c
commit
e42d9c439d
1 changed files with 2 additions and 1 deletions
|
|
@ -635,8 +635,9 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
|
|
||||||
if (profile.RetirementPeriod.RetirementPeriodHistorys.Count() == 0)
|
if (profile.RetirementPeriod.RetirementPeriodHistorys.Count() == 0)
|
||||||
{
|
{
|
||||||
await GenOrderByYear(profile.RetirementPeriod.Id);
|
|
||||||
_context.RetirementProfiles.Remove(profile);
|
_context.RetirementProfiles.Remove(profile);
|
||||||
|
_context.SaveChanges();
|
||||||
|
await GenOrderByYear(profile.RetirementPeriod.Id);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue