You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
443 B
18 lines
443 B
3 years ago
|
using System;
|
||
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using Volo.Abp.Domain.Repositories;
|
||
|
|
||
|
namespace Sanhe.Abp.LocalizationManagement;
|
||
|
|
||
|
public interface IResourceRepository : IRepository<Resource, Guid>
|
||
|
{
|
||
|
Task<bool> ExistsAsync(
|
||
|
string name,
|
||
|
CancellationToken cancellationToken = default);
|
||
|
|
||
|
Task<Resource> FindByNameAsync(
|
||
|
string name,
|
||
|
CancellationToken cancellationToken = default);
|
||
|
}
|