mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-18 02:24:22 +00:00
17 lines
512 B
C#
17 lines
512 B
C#
using Oqtane.Models;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Oqtane.Services
|
|
{
|
|
public interface IModuleService
|
|
{
|
|
Task<List<Module>> GetModulesAsync(int PageId);
|
|
Task<List<Module>> GetModulesAsync(int SiteId, string ModuleDefinitionName);
|
|
Task<Module> GetModuleAsync(int ModuleId);
|
|
Task<Module> AddModuleAsync(Module Module);
|
|
Task<Module> UpdateModuleAsync(Module Module);
|
|
Task DeleteModuleAsync(int ModuleId);
|
|
}
|
|
}
|