ย้าย minioไป appcation

This commit is contained in:
Kittapath 2023-09-14 12:39:16 +07:00
parent fef7af3f87
commit eb09447626
4 changed files with 693 additions and 312 deletions

View file

@ -508,6 +508,13 @@ namespace BMA.EHR.Retirement.Service.Controllers
"",
true
);
await _repositoryNoti.PushNotificationAsync(
Guid.Parse("08db721d-ae22-424d-8f4a-87ba30cc3ee7"),
$"คำขอลาออกขอ {updated.Profile.Prefix?.Name}{updated.Profile.FirstName} {updated.Profile.LastName} ได้รับการอนุมัติจากผู้บังคับบัญชา",
$"คำขอลาออกขอ {updated.Profile.Prefix?.Name}{updated.Profile.FirstName} {updated.Profile.LastName} ได้รับการอนุมัติจากผู้บังคับบัญชา",
"",
true
);
await _context.SaveChangesAsync();
return Success();
@ -547,6 +554,13 @@ namespace BMA.EHR.Retirement.Service.Controllers
"",
true
);
await _repositoryNoti.PushNotificationAsync(
Guid.Parse("08db721d-ae22-424d-8f4a-87ba30cc3ee7"),
$"คำขอลาออกขอ {updated.Profile.Prefix?.Name}{updated.Profile.FirstName} {updated.Profile.LastName} ถูกยับยั้งจากผู้บังคับบัญชา",
$"คำขอลาออกขอ {updated.Profile.Prefix?.Name}{updated.Profile.FirstName} {updated.Profile.LastName} ถูกยับยั้งจากผู้บังคับบัญชา",
"",
true
);
await _context.SaveChangesAsync();
return Success();