/// <summary> /// Initializes a new instance of the <see cref="BaseRepository{T}"/> class. /// </summary> /// <param name="_context">The context.</param> public BaseRepository(AutoBoardDBContext _context) { this._context = _context; table = _context.Set <T>(); }
/// <summary> /// Initializes a new instance of the <see cref="BaseRepository{T}"/> class. /// </summary> public BaseRepository() { this._context = new AutoBoardDBContext(); table = _context.Set <T>(); }