move HtmlText caching from repository to service layer
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Oqtane.Documentation;
|
||||
|
||||
namespace Oqtane.Modules.HtmlText.Repository
|
||||
@ -11,10 +10,5 @@ namespace Oqtane.Modules.HtmlText.Repository
|
||||
Models.HtmlText GetHtmlText(int htmlTextId);
|
||||
Models.HtmlText AddHtmlText(Models.HtmlText htmlText);
|
||||
void DeleteHtmlText(int htmlTextId);
|
||||
|
||||
Task<IEnumerable<Models.HtmlText>> GetHtmlTextsAsync(int moduleId);
|
||||
Task<Models.HtmlText> GetHtmlTextAsync(int htmlTextId);
|
||||
Task<Models.HtmlText> AddHtmlTextAsync(Models.HtmlText htmlText);
|
||||
Task DeleteHtmlTextAsync(int htmlTextId);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user