public FavoriteController(IFavoriteControllerService favoriteControllerService) { if (favoriteControllerService == null) { throw new ArgumentNullException(nameof(favoriteControllerService)); } _favoriteControllerService = favoriteControllerService; }
public FavoriteController(IFavoriteControllerService favoriteControllerService) { if (favoriteControllerService == null) throw new ArgumentNullException(nameof(favoriteControllerService)); _favoriteControllerService = favoriteControllerService; }