Class ModuleServiceController
Inheritance
ModuleServiceController
Assembly: DotNetNuke.Web.dll
Syntax
[DnnAuthorize]
public class ModuleServiceController : DnnApiController
Constructors
ModuleServiceController()
Declaration
[Obsolete("Deprecated in DotNetNuke 10.2.2. Please use overload with IHostSettings. Scheduled removal in v12.0.0.")]
public ModuleServiceController()
ModuleServiceController(IHostSettings, DataProvider)
Declaration
public ModuleServiceController(IHostSettings hostSettings, DataProvider dataProvider)
Parameters
Methods
DeleteModule(DeleteModuleDto)
Declaration
[ValidateAntiForgeryToken]
[DnnAuthorize(StaticRoles = "Administrators")]
public HttpResponseMessage DeleteModule(ModuleServiceController.DeleteModuleDto deleteModuleDto)
Parameters
Returns
GetModuleShareable(int, int, int)
Declaration
[DnnAuthorize(StaticRoles = "Registered Users")]
public HttpResponseMessage GetModuleShareable(int moduleId, int tabId, int portalId = -1)
Parameters
| Type |
Name |
Description |
| int |
moduleId |
|
| int |
tabId |
|
| int |
portalId |
|
Returns
MoveModule(MoveModuleDTO)
Declaration
[ValidateAntiForgeryToken]
[DnnPageEditor]
public HttpResponseMessage MoveModule(ModuleServiceController.MoveModuleDTO postData)
Parameters
Returns
Extension Methods