Esempio n. 1
0
        public SampleService
        (
            IMongoDbContext mongoDbContext,
            IHttpContextAccessor contextAccessor
        )
        {
            _mongoDbContext = mongoDbContext;
            _mongoDbContext.CheckArgumentIsNull(nameof(_mongoDbContext));

            _contextAccessor = contextAccessor;
            _contextAccessor.CheckArgumentIsNull(nameof(contextAccessor));
        }