This commit is contained in:
2021-12-27 20:22:41 +00:00
parent 5feee8a2f4
commit 4c0976a050
2 changed files with 4 additions and 4 deletions

View File

@@ -147,8 +147,8 @@ namespace AyaNova.Biz
return new TaskGroupBiz(ct, userId, translationId, roles);
case AyaType.UnitMeterReading:
return new UnitMeterReadingBiz(ct, userId, translationId, roles);
case AyaType.Report:
return new ReportBiz(ct, userId, translationId, roles);
default:
throw new System.NotSupportedException($"AyaNova.BLL.BizObjectFactory::GetBizObject type {ayaType.ToString()} is not supported");
}

View File

@@ -14,7 +14,7 @@ using System;
namespace AyaNova.Biz
{
internal class ReportBiz : BizObject, ISearchAbleObject
internal class ReportBiz : BizObject, IJobObject, ISearchAbleObject
{
internal ReportBiz(AyContext dbcontext, long currentUserId, long userTranslationId, AuthorizationRoles UserRoles)
{