예제 #1
0
        public UnitTest1()
        {
            var context = new Application(User);

            _reposLayeruser       = new UserRL(context);
            _reposLayerParking    = new ParkingRL(context);
            _businessLayeruser    = new UserBL(_reposLayeruser);
            _businessLayerparking = new ParkingBL(_reposLayerParking);
        }
예제 #2
0
 public ParkingBL(IParkingRL data)
 {
     this.sample = data;
 }
예제 #3
0
 public ParkingBL(IParkingRL data)
 {
     Parking = data;
 }
예제 #4
0
 /// <summary>
 /// Declare Constructor
 /// </summary>
 public ParkingTestCase()
 {
     parkingLotRL      = new ParkingRL();
     parkingLotBL      = new ParkingBL(parkingLotRL);
     parkingController = new ParkingController(parkingLotBL, distributedCache);
 }
예제 #5
0
 /// <summary>
 /// Constructor For Setting ParkingLotRL Instance.
 /// </summary>
 /// <param name="parkingLotRL"></param>
 public ParkingBL(IParkingRL parkingLotRL)
 {
     this.parkingLotRL = parkingLotRL;
 }