示例#1
0
        public async Task <ActionResult> GetAsync(string offerName, string planName, string meterName)
        {
            AADAuthHelper.VerifyUserAccess(this.HttpContext, _logger, true);

            _logger.LogInformation($"Get custom meter {meterName} dimensions from offer {offerName} and plan {planName}.");
            return(Ok(await _customMeterDimensionService.GetAsync(offerName, planName, meterName)));
        }
 public async Task <ActionResult> GetAsync(long id)
 {
     return(Ok(await _customMeterDimensionService.GetAsync(id)));
 }