consolidate interface and implementation classes
This commit is contained in:
@ -5,6 +5,15 @@ using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IProfileRepository
|
||||
{
|
||||
IEnumerable<Profile> GetProfiles(int siteId);
|
||||
Profile AddProfile(Profile profile);
|
||||
Profile UpdateProfile(Profile profile);
|
||||
Profile GetProfile(int profileId);
|
||||
Profile GetProfile(int profileId, bool tracking);
|
||||
void DeleteProfile(int profileId);
|
||||
}
|
||||
public class ProfileRepository : IProfileRepository
|
||||
{
|
||||
private readonly IDbContextFactory<TenantDBContext> _dbContextFactory;
|
||||
|
Reference in New Issue
Block a user