mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-21 17:11:30 +00:00
15 lines
415 B
C#
15 lines
415 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|