using GB5Shared.DTO.Framework.Login;
using System.Threading;
using System.Threading.Tasks;
namespace FrameworkBLL.DirectAction
{
public interface IGenericApiDirectActionHandler
{
///
///
///
///
///
///
/// Scheme + host of this Framework service, captured from the incoming HTTP request
/// (e.g. "http://192.168.0.112:5000"). Combined with MDIRECTACTIONDETAIL.APIENDPOINT
/// to form the full callback URL. Zero config — derived from the live request.
///
///
Task ExecuteAsync(
string actionCode,
int contextId,
int assigneeUserId,
string? remarks,
LoginDTO login,
string frameworkBaseUrl = "",
CancellationToken ct = default);
Task ExecuteAsync(
string actionCode,
int contextId,
int assigneeUserId,
string? remarks,
LoginDTO login,
CancellationToken ct = default);
}
}