This commit is contained in:
@@ -225,8 +225,7 @@ namespace Sockeye.Biz
|
||||
private async Task ValidateCanDeleteAsync(License inObj)
|
||||
{
|
||||
|
||||
if (await ct.SubscriptionServer.AnyAsync(m => m.LicenseId == inObj.Id))
|
||||
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("SubscriptionServer"));
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user