示例#1
0
 public TravelPlanController(ITravelPlanRepository travelPlanRepository,
                             IUserRepository userRepository,
                             IUserTravelPlanRepository userTravelPlanRepository,
                             IPlanInvitationRepository planInvitationRepository)
 {
     _travelPlanRepository     = travelPlanRepository;
     _userRepository           = userRepository;
     _userTravelPlanRepository = userTravelPlanRepository;
     _planInvitationRepository = planInvitationRepository;
 }
 public UserTravelPlanService(IUserTravelPlanRepository userTravelPlanRepository)
 {
     _userTravelPlanRepository = userTravelPlanRepository;
 }
 public TravelPlanActivityController(ITravelPlanActivityRepository activityRepository, IUserTravelPlanRepository userTravelPlanRepository)
 {
     _activityRepository       = activityRepository;
     _userTravelPlanRepository = userTravelPlanRepository;
 }