public async Task <IActionResult> PostAsync([FromBody] SaveReviewResource resource)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState.GetMessages()));
            }
            var review = _mapper.Map <SaveReviewResource, Review>(resource);
            var result = await _reviewService.AssignReviewAsync(review.CustomerId, review.SpecialistId, review.Description, review.Rank);

            if (!result.Success)
            {
                return(BadRequest(result.Message));
            }

            var historyResource = _mapper.Map <Review, ReviewResource>(result.Resource);

            return(Ok(historyResource));
        }