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