예제 #1
0
 public BadgeController(IBadgeControllerService badgeControllerService)
 {
     if (badgeControllerService == null)
     {
         throw new ArgumentNullException(nameof(badgeControllerService));
     }
     _badgeControllerService = badgeControllerService;
 }
예제 #2
0
 public BadgeController(IBadgeControllerService badgeControllerService)
 {
     if (badgeControllerService == null) throw new ArgumentNullException(nameof(badgeControllerService));
     _badgeControllerService = badgeControllerService;
 }
예제 #3
0
 public BadgeController(IBadgeControllerService badgeControllerService)
 {
     _badgeControllerService = badgeControllerService ?? throw new ArgumentNullException(nameof(badgeControllerService));
 }