Update API
This commit is contained in:
@@ -7,7 +7,7 @@ namespace WebAPI.Services.Interfaces
|
||||
{
|
||||
public interface ILoggingService
|
||||
{
|
||||
void Log(string message, object detail);
|
||||
void Log(string message, object detail=null);
|
||||
void Warning(string message, object detail);
|
||||
int Error(Exception exception);
|
||||
int Error(Exception exception, string from);
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user