public BlogSystemData(IBlogSystemDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }
public GenericRepository(BlogSystemDbContext context) { this.context = context; this.set = context.Set <T>(); }
public GenericRepository(IBlogSystemDbContext context) { this.Context = context; this.DbSet = this.Context.Set <T>(); }
public UsersRepository(IBlogSystemDbContext context) : base(context) { }