예제 #1
0
 public FavoriteController(IFavoriteControllerService favoriteControllerService)
 {
     if (favoriteControllerService == null)
     {
         throw new ArgumentNullException(nameof(favoriteControllerService));
     }
     _favoriteControllerService = favoriteControllerService;
 }
예제 #2
0
 public FavoriteController(IFavoriteControllerService favoriteControllerService)
 {
     if (favoriteControllerService == null) throw new ArgumentNullException(nameof(favoriteControllerService));
     _favoriteControllerService = favoriteControllerService;
 }