16 lines
431 B
C#
16 lines
431 B
C#
using System.Collections.Generic;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Repository
|
|
{
|
|
public interface IModuleRepository
|
|
{
|
|
IEnumerable<Module> GetModules();
|
|
IEnumerable<Module> GetModules(int SiteId, string ModuleDefinitionName);
|
|
Module AddModule(Module Module);
|
|
Module UpdateModule(Module Module);
|
|
Module GetModule(int ModuleId);
|
|
void DeleteModule(int ModuleId);
|
|
}
|
|
}
|