using Knot.Modules.Relations.Domain;
using Microsoft.EntityFrameworkCore;
using System.Threading;
using System.Threading.Tasks;

namespace Knot.Modules.Relations.Application.Abstractions;

public interface IContactsDbContext
{
    DbSet<Contact> Contacts { get; }
    DbSet<UserReplica> UserReplicas { get; }
    
    Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
}
