public KeyRotationSampleController(ICosmosDbService cosmosDbService, IBlobService blobService, IKeyRotation keyRotation, ILogger <KeyRotationSampleController> logger) { this.cosmosDbService = cosmosDbService; this.blobService = blobService; this.keyRotation = keyRotation; this.logger = logger; }
/// <summary> /// Constructor /// </summary> /// <param name="logger">log instance</param> /// <param name="dal">data access layer instance</param> /// <param name="keyRotation">KeyRotationHelper instance</param> public GenresController(ILogger <GenresController> logger, IDAL dal, IKeyRotation keyRotation) { this.logger = logger; this.dal = dal; this.keyRotation = keyRotation; }