public UnitOfWork(PersonalNotesDbContext dbContext) { this.dbContext = dbContext; }
protected RepositoryBase(PersonalNotesDbContext dataContext, IUserResolverService userResolverService) { this.dataContext = dataContext; this.userResolverService = userResolverService; dbSet = dataContext.Set <T>(); }
public NoteRepos(PersonalNotesDbContext dbContext, IUserResolverService userResolverService) : base(dbContext, userResolverService) { }