public BadgeController(IBadgeControllerService badgeControllerService) { if (badgeControllerService == null) { throw new ArgumentNullException(nameof(badgeControllerService)); } _badgeControllerService = badgeControllerService; }
public BadgeController(IBadgeControllerService badgeControllerService) { if (badgeControllerService == null) throw new ArgumentNullException(nameof(badgeControllerService)); _badgeControllerService = badgeControllerService; }
public BadgeController(IBadgeControllerService badgeControllerService) { _badgeControllerService = badgeControllerService ?? throw new ArgumentNullException(nameof(badgeControllerService)); }