IRepository<T> Generic CRUD, IUnitOfWork 트랜잭션, 도메인별 특화 Repository 인터페이스 7종 정의 (Service, Admin, Device, Message, PushLog, File, Stat)
10 lines
267 B
C#
10 lines
267 B
C#
using SPMS.Domain.Entities;
|
|
|
|
namespace SPMS.Domain.Interfaces;
|
|
|
|
public interface IFileRepository : IRepository<FileEntity>
|
|
{
|
|
Task<FileEntity?> GetByFileNameAsync(long serviceId, string fileName);
|
|
Task<bool> FileExistsAsync(long serviceId, string fileName);
|
|
}
|