public PossessionController(IPossessionsService possessionsService, IUserIDService userIDService) { _possessionsService = possessionsService; _UserIDService = userIDService; }
/// <summary> /// Possesion interface constructor. /// </summary> public PossessionsController(IPossessionsService possessionsService, IPilotsService pilotsService) { _possessionsService = possessionsService ?? throw new ArgumentNullException(nameof(possessionsService)); _PilotService = pilotsService ?? throw new ArgumentNullException(nameof(pilotsService)); }