mysimulation/server/FSO.Server.Database/DA/Tasks/ITasks.cs
Tony Bark 22191ce648 Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib
- Added FreeSO's API server to handle most backend operations
2024-05-01 02:55:43 -04:00

14 lines
415 B
C#
Executable file

using FSO.Server.Database.DA.Utils;
using System;
namespace FSO.Server.Database.DA.Tasks
{
public interface ITasks
{
int Create(DbTask task);
void CompleteTask(int task_id, DbTaskStatus status);
void SetStatus(int task_id, DbTaskStatus status);
DbTask CompletedAfter(DbTaskType type, DateTime time);
PagedList<DbTask> All(int offset = 1, int limit = 20);
}
}