19 lines
618 B
C#
19 lines
618 B
C#
using LCU.Library.Internal.ArchiverApiModel.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LCU.Library.Internal.ArchiverApiLib.Repositories
|
|
{
|
|
public interface IRegexMappingRepository
|
|
{
|
|
Task<IEnumerable<RegexMapping>> ListAsync();
|
|
Task<RegexMapping> FindByApplicationMappingIdAsync(int id);
|
|
Task<RegexMapping> FindByRegexMappingIdAsync(int id);
|
|
Task<RegexMapping> AddAsync(RegexMapping regexMapping);
|
|
void Update(RegexMapping regexMapping);
|
|
void Remove(RegexMapping regexMapping);
|
|
}
|
|
}
|