示例#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;
 }