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