Пример #1
0
 public TravelPlanController(IUserRepository userRepository,
                             IUserTravelPlanService userTravelPlanService,
                             ITravelPlanInvitationService travelPlanInvitationService,
                             ITravelPlanService travelPlanService)
 {
     _userRepository              = userRepository;
     _userTravelPlanService       = userTravelPlanService;
     _travelPlanInvitationService = travelPlanInvitationService;
     _travelPlanService           = travelPlanService;
 }
 public TravelPlanService(ITravelPlanRepository travelPlanRepository,
                          IUserRepository userRepository,
                          IUserTravelPlanService userTravelPlanService,
                          ITravelPlanStatusService travelPlanStatusService,
                          AppDbContext dbContext)
 {
     _travelPlanRepository    = travelPlanRepository;
     _userRepository          = userRepository;
     _userTravelPlanService   = userTravelPlanService;
     _travelPlanStatusService = travelPlanStatusService;
     _dbContext = dbContext;
 }
 public UserTravelController(IUserTravelPlanService userTravelPlanService)
 {
     _userTravelPlanService = userTravelPlanService;
 }
 public TravelPlanActivityController(ITPActivityService activityService, IUserTravelPlanService userTravelPlanService)
 {
     _activityService       = activityService;
     _userTravelPlanService = userTravelPlanService;
 }