Y2S2-Syski/syski_api/uk.co.syski.websocket/Services/WebSockets/Actions/Tasks/ActionTask.cs
2020-06-09 21:02:14 +01:00

23 lines
577 B
C#

using Syski.Data;
using System;
namespace Syski.WebSocket.Services.WebSockets.Actions.Tasks
{
public abstract class ActionTask
{
protected readonly string action;
protected readonly IServiceProvider serviceProvider;
protected readonly SyskiDBContext context;
public ActionTask(string action, IServiceProvider serviceProvider)
{
this.action = action;
this.serviceProvider = serviceProvider;
}
public abstract void ExecuteActionTask(WebSocketConnection webSocketConnection);
}
}