public HttpResponseMessage CreateReviewOutlet(CreateReviewOutletDto createReviewOutlet) { var message = CreateMessageData($"outlet/review"); if (!ModelState.IsValid) { return(CreateValidationErrorResponse(message, new ValidationResult(Validation.InvalidParameters))); } var result = _outletService.CreateReviewOutlet(createReviewOutlet.outletId, createReviewOutlet.customerid, createReviewOutlet.star, createReviewOutlet.content); if (!result.IsSuccess) { return(CreateValidationErrorResponse(message, new ValidationResult(result.message))); } return(CreateOkResponse(message, createReviewOutlet)); }