This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-03 17:18:33 -04:00

18 lines
560 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Oqtane.Models;
namespace Oqtane.Services.Interfaces
{
public interface IModuleService
{
Task<List<Module>> GetModulesAsync(int siteId);
Task<Module> GetModuleAsync(int moduleId);
Task<Module> AddModuleAsync(Module module);
Task<Module> UpdateModuleAsync(Module module);
Task DeleteModuleAsync(int moduleId);
Task<bool> ImportModuleAsync(int moduleId, string content);
Task<string> ExportModuleAsync(int moduleId);
}
}