feat: add an interface for standard saving changes
This commit is contained in:
parent
f7998a1798
commit
8028d40005
9
Application/Interfaces/DbContexts/IDbContextBase.cs
Normal file
9
Application/Interfaces/DbContexts/IDbContextBase.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Threading;
|
||||||
|
|
||||||
|
namespace Mirea.Api.DataAccess.Application.Interfaces.DbContexts;
|
||||||
|
|
||||||
|
public interface IDbContextBase
|
||||||
|
{
|
||||||
|
Task<int> SaveChangesAsync(CancellationToken cancellationToken);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user