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

            _logger.LogInformation($"Delete custom meter dimenstion {meterName} in offer {offerName} and plan {planName}.");
            await _customMeterDimensionService.DeleteAsync(offerName, planName, meterName);

            return(NoContent());
        }
        public async Task <ActionResult> DeleteAsync(long id)
        {
            await _customMeterDimensionService.DeleteAsync(id);

            return(NoContent());
        }