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