diff --git a/server/AyaNova/biz/BizObjectFactory.cs b/server/AyaNova/biz/BizObjectFactory.cs index a18cee47..38208f28 100644 --- a/server/AyaNova/biz/BizObjectFactory.cs +++ b/server/AyaNova/biz/BizObjectFactory.cs @@ -1,12 +1,4 @@ -using System.Linq; -using System.Threading.Tasks; -using Microsoft.EntityFrameworkCore; -using Microsoft.AspNetCore.Mvc; - -using EnumsNET; using AyaNova.Util; -using AyaNova.Api.ControllerHelpers; -using AyaNova.Biz; using AyaNova.Models; @@ -38,7 +30,8 @@ namespace AyaNova.Biz return new FormCustomBiz(ct, userId, ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID, roles); case AyaType.Widget: return new WidgetBiz(ct, userId, ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID, roles); - + case AyaType.FileAttachment: + return new AttachmentBiz(ct, userId, roles); case AyaType.Customer: return new CustomerBiz(ct, userId, ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID, roles); case AyaType.User: