namespace FrameworkBLL.SystemJob { // ============================================================ // ISysJobHubNotifier — abstraction over SysJobHub SignalR push. // // Concrete implementation (SysJobHubNotifier) lives in FrameworkSL, // wrapping IHubContext. // This keeps FrameworkBLL free of ASP.NET / SignalR assembly types. // // Registration in FrameworkSL Program.cs: // services.AddSingleton(); // ============================================================ public interface ISysJobHubNotifier { /// Notify a specific user that a job was shared with them. Task NotifyJobSharedAsync(int recipientUserId, int sysJobId, string sharedByName); } }