extracted ModerationRepository interface
This commit is contained in:
parent
024327ffe9
commit
3e772f2cd4
1 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,13 @@ using Newtonsoft.Json.Converters;
|
|||
|
||||
namespace BirdsiteLive.Domain.Repository
|
||||
{
|
||||
public class ModerationRepository
|
||||
public interface IModerationRepository
|
||||
{
|
||||
ModerationTypeEnum GetModerationType(ModerationEntityTypeEnum type);
|
||||
ModeratedTypeEnum CheckStatus(ModerationEntityTypeEnum type, string entity);
|
||||
}
|
||||
|
||||
public class ModerationRepository : IModerationRepository
|
||||
{
|
||||
private readonly Regex[] _followersWhiteListing;
|
||||
private readonly Regex[] _followersBlackListing;
|
||||
|
|
Reference in a new issue