.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VizhTalk.BuildingBlocks.Application.Exceptions
|
||||
{
|
||||
public class LanguageTitleAlreadyExistsException : BaseException
|
||||
{
|
||||
public LanguageTitleAlreadyExistsException() : base("title already exists")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,10 @@
|
||||
namespace VizhTalk.BuildingBlocks.Application;
|
||||
using System.Transactions;
|
||||
|
||||
namespace VizhTalk.BuildingBlocks.Application;
|
||||
|
||||
public interface IUnitOfWorkBase : IDisposable
|
||||
{
|
||||
Task<int> CommitAsync(
|
||||
CancellationToken cancellationToken = default);
|
||||
Task BeginTransactionAsync(CancellationToken cancellationToken = default);
|
||||
Task RollbackTransactionAsync(CancellationToken cancellationToken = default);
|
||||
Task<int> CommitAsync(CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user