This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user