Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductRepository"/> class.
 /// </summary>
 public ProductRepository()
 {
     _context = new MyDatabaseContext();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CategoryRepository"/> class.
 /// </summary>
 public CategoryRepository()
 {
     this._context = new MyDatabaseContext();
 }