This commit is contained in:
2022-03-04 22:44:44 +00:00
parent 27888e18f7
commit 4023635414
10 changed files with 206 additions and 119 deletions

View File

@@ -155,6 +155,8 @@ namespace AyaNova.Biz
// return await ct.ServiceBank.AnyAsync(z => z.Id == id);
case AyaType.CustomerServiceRequest:
return await ct.CustomerServiceRequest.AnyAsync(z => z.Id == id);
case AyaType.CustomerNotifySubscription:
return await ct.CustomerNotifySubscription.AnyAsync(z => z.Id == id);
default:
throw new System.NotSupportedException($"AyaNova.Biz.BizObjectExistsInDatabase::ExistsAsync type {aType.ToString()} is not supported");
}