This commit is contained in:
2020-08-26 17:40:20 +00:00
parent fc24607c5b
commit 72f4d0224b
4 changed files with 252 additions and 3 deletions

View File

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