Created
January 28, 2019 12:07
-
-
Save evgomes/ce2882c09b4b84e25306082e16c11d57 to your computer and use it in GitHub Desktop.
Base repository, from Supermarket API
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 Supermarket.API.Persistence.Contexts; | |
namespace Supermarket.API.Persistence.Repositories | |
{ | |
public abstract class BaseRepository | |
{ | |
protected readonly AppDbContext _context; | |
public BaseRepository(AppDbContext context) | |
{ | |
_context = context; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment