There are 2 mechanisms for adding 'add actions' to a folder.
1. Adding this interface to a 'service' that is created.
If you want to grant users the ability to create these entities in any folder, create actions:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DecisionsFramework.ServiceLayer.Services.Folder;
using DecisionsFramework.ServiceLayer.Utilities;
namespace ClassLibrary_AddingCreateActions
{
public interface IBaseEntityActivationService
{
///
///
/// /// /// /// IBaseEntityActivationService[] GetCreateMethods(Folder folder, AbstractUserContext usercontext);
}
}
2. Creating entity action factory registered to 'folder'