-
-
Save dcomartin/a88ce100d81149e0257f4f4ef6993c2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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