15 lines
367 B
C#
15 lines
367 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CPRNIMS.Domain.Contracts.Common
|
|
{
|
|
public interface ITransactionFacade
|
|
{
|
|
Task<T> ExecuteAsync<T>(Func<Task<T>> operation,CancellationToken ct);
|
|
Task ExecuteAsync(Func<Task> operation,CancellationToken ct);
|
|
}
|
|
}
|