consolidate interface and implementation classes

This commit is contained in:
sbwalker
2025-08-11 16:36:09 -04:00
parent d7eb0dc509
commit b3f6194fda
55 changed files with 309 additions and 473 deletions

View File

@ -4,7 +4,6 @@ using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Metadata;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Oqtane.Infrastructure;
@ -14,6 +13,15 @@ using Oqtane.Themes;
namespace Oqtane.Repository
{
public interface IThemeRepository
{
IEnumerable<Theme> GetThemes();
Theme GetTheme(int themeId, int siteId);
void UpdateTheme(Theme theme);
void DeleteTheme(int themeId);
List<Theme> FilterThemes(List<Theme> themes);
}
public class ThemeRepository : IThemeRepository
{
private MasterDBContext _db;