Exemple #1
0
 public PollBLL(PollDAL pollDAL, VoteBLL voteBLL, RestaurantBLL restaurantBLL, TimeSpan maxPollTime)
 {
     DAL = pollDAL;
     VoteBLL = voteBLL;
     RestaurantBLL = restaurantBLL;
     MaxPollTime = maxPollTime;
 }
Exemple #2
0
 public PollBLL(TimeSpan maxPollTime)
 {
     VoteBLL = new VoteBLL();
     RestaurantBLL = new RestaurantBLL();
     DAL = new PollDAL();
     MaxPollTime = maxPollTime;
 }