This commit is contained in:
2021-01-06 23:49:19 +00:00
parent 5e54fc3899
commit f5f0cffde6
5 changed files with 106 additions and 0 deletions

View File

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