Beispiel #1
0
 public PollBLL(TimeSpan maxPollTime)
 {
     VoteBLL = new VoteBLL();
     RestaurantBLL = new RestaurantBLL();
     DAL = new PollDAL();
     MaxPollTime = maxPollTime;
 }
Beispiel #2
0
 public PollBLL(PollDAL pollDAL, VoteBLL voteBLL, RestaurantBLL restaurantBLL, TimeSpan maxPollTime)
 {
     DAL = pollDAL;
     VoteBLL = voteBLL;
     RestaurantBLL = restaurantBLL;
     MaxPollTime = maxPollTime;
 }
Beispiel #3
0
 public void TestInitialize()
 {
     _mockVoteDAL = new Mock<VoteDAL>(MockBehavior.Strict, null);
     _voteBLL = new VoteBLL(_mockVoteDAL.Object);
 }