public RescuersController(IRescuersProvider rescuersProvider, IRescuersService rescuerService)
 {
     ErrorHandlingHelper.IfArgumentNullException(rescuersProvider, "IRescuersProvider");
     ErrorHandlingHelper.IfArgumentNullException(rescuerService, "IRescuersService");
     _rescuerService = rescuerService;
     _rescuersProvider = rescuersProvider;
 }
Example #2
0
 public RescuerPickerAlgorithm(IRescuersService rescuersService, IUserRepository userRepository)
 {
     _rescuersService = rescuersService;
     _userRepository  = userRepository;
 }
 public RescuerActionsController(IRescuersService rescuersService, IRescuePickerAlgorithm rescuePickerAlgorithm)
 {
     _rescuersService       = rescuersService;
     _rescuePickerAlgorithm = rescuePickerAlgorithm;
 }
Example #4
0
 public UsersController(IMembershipService membershipService, IUserRepository userRepository, IRescuersService rescuersService)
 {
     _membershipService = membershipService;
     _userRepository    = userRepository;
     _rescuersService   = rescuersService;
 }