Example #1
0
 public BentoApiController(IEmbeddedContentService embeddedContentService)
 {
     _EmbeddedContentService = embeddedContentService ?? throw new ArgumentNullException(nameof(embeddedContentService));
 }
 public BentoApiController(IEmbeddedContentService embeddedContentService, IVariationContextAccessor variationContextAccessor)
 {
     _variationContextAccessor = variationContextAccessor;
     _EmbeddedContentService   = embeddedContentService ?? throw new ArgumentNullException(nameof(embeddedContentService));
 }