This commit is contained in:
2025-09-03 00:34:27 +04:30
parent fc6d32bad7
commit a7cdec69a7
31 changed files with 281 additions and 181 deletions
@@ -6,4 +6,6 @@ namespace VizhTalk.BuildingBlocks.Application.Configuration.Query;
public interface IQueryHandler<in TQuery, TResult>
where TQuery : IQuery<TResult>
{
Task<TResult> Handle(TQuery request, CancellationToken cancellationToken);
}
@@ -0,0 +1,8 @@
namespace VizhTalk.BuildingBlocks.Application.Data;
public interface IGenericDapper<T> : IDisposable
where T : class
{
Task<T?> GetAsync(string sql, object? param = null);
Task<IEnumerable<T>> GetAllAsync(string sql, object? param = null);
}