public IActionResult AddMeasureDimension([FromBody] MeasureDimension request) { var response = new OperationResponse <bool>(); try { response.Data = _specificationService.AddMeasureDimension(request); } catch (Exception exception) { response.State = ResponseState.Error; response.Messages.Add(exception.Message); _logger.LogError(exception, "Error in AddMeasureDimension ==>" + exception.StackTrace, request); } return(new JsonResult(response)); }