Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using CleanArchitecture.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System.Threading;
using System.Threading.Tasks;
namespace CleanArchitecture.Application.Common.Interfaces
public interface IApplicationDbContext
DbSet<TodoList> TodoLists { get; set; }
DbSet<TodoItem> TodoItems { get; set; }
Task<int> SaveChangesAsync(CancellationToken cancellationToken);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment