Пример #1
0
 /// <summary>
 /// This constructor creates and instance of the class that uses a stub of the data access layer for testing.
 /// </summary>
 /// <param name="stub">A mock of the data access layer for testing.</param>
 public NasBLL(INasDAL stub)
 {
     _db = stub;
 }
Пример #2
0
 /// <summary>
 /// This constructor creates and instance of the class that uses the actual data access layer.
 /// </summary>
 public NasBLL()
 {
     _db = new NasDAL();
 }