16 lines
316 B
C#
16 lines
316 B
C#
using LineMessaging;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebAPI.Services.Interfaces
|
|
{
|
|
public interface IScheduledTask
|
|
{
|
|
string Description { get; }
|
|
bool CheckTime(DateTime time);
|
|
Task<bool> RunTask();
|
|
}
|
|
}
|