add validation logic to ensure page theme martches site theme

This commit is contained in:
sbwalker
2023-06-23 07:38:33 -04:00
parent a7c5841e76
commit 6126624631
3 changed files with 15 additions and 3 deletions

View File

@ -24,6 +24,13 @@ namespace Oqtane.Services
/// <returns></returns>
Task<Theme> GetThemeAsync(int themeId, int siteId);
/// <summary>
/// Returns a theme <see cref="ThemeControl"/>s containing a theme control type
/// </summary>
/// <param name="themes"></param>
/// <returns></returns>
Theme GetTheme(List<Theme> themes, string themeType);
/// <summary>
/// Returns a list of <see cref="ThemeControl"/>s from the given themes
/// </summary>