module creator templates need to be in the server project in order to be distributed with application
This commit is contained in:
19
Oqtane.Server/wwwroot/Modules/Templates/External/Client/Services/I[Module]Service.cs
vendored
Normal file
19
Oqtane.Server/wwwroot/Modules/Templates/External/Client/Services/I[Module]Service.cs
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using [Owner].[Module]s.Models;
|
||||
|
||||
namespace [Owner].[Module]s.Services
|
||||
{
|
||||
public interface I[Module]Service
|
||||
{
|
||||
Task<List<[Module]>> Get[Module]sAsync(int ModuleId);
|
||||
|
||||
Task<[Module]> Get[Module]Async(int [Module]Id);
|
||||
|
||||
Task<[Module]> Add[Module]Async([Module] [Module]);
|
||||
|
||||
Task<[Module]> Update[Module]Async([Module] [Module]);
|
||||
|
||||
Task Delete[Module]Async(int [Module]Id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user