Y2S2-Syski/syski_api/uk.co.syski.websocket/Services/WebSockets/Actions/Tasks/ActionTask.cs

23 lines
577 B
C#
Raw Permalink Normal View History

2020-06-09 20:02:14 +00:00
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);
}
}