2020-04-12 20:01:46 +02:00
|
|
|
|
using Seenginx.Models;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Seenginx.Services
|
|
|
|
|
{
|
|
|
|
|
public interface INginxService
|
|
|
|
|
{
|
2020-04-19 03:04:46 +02:00
|
|
|
|
Task<IEnumerable<ConfigFile>> GetFilesAsync();
|
2020-05-03 02:10:32 +02:00
|
|
|
|
Task<Result<string>> TestNginxConfigurations(ConfigFile configFile);
|
|
|
|
|
Task<Result<ConfigFile>> AddFileAsync(NewFileForm newFileForm);
|
2020-07-01 19:36:22 +02:00
|
|
|
|
Task<IEnumerable<Template>> GetTemplates();
|
2020-04-12 20:01:46 +02:00
|
|
|
|
}
|
|
|
|
|
}
|