public HttpResponseMessage GetById(HttpRequestMessage request,
                                           [FromBody] PostCategoryViewModel postCategoryViewModel)
        {
            TransactionalInformation transactionalInformation;
            HttpResponseMessage      response;
            var postCategoryId = postCategoryViewModel.ID;
            var categoryDto    = _postCategoryBusinessService.GetPostCategory(postCategoryId,
                                                                              out transactionalInformation);

            if (transactionalInformation.ReturnStatus == false)
            {
                postCategoryViewModel.ReturnStatus     = false;
                postCategoryViewModel.ReturnMessage    = transactionalInformation.ReturnMessage;
                postCategoryViewModel.ValidationErrors = transactionalInformation.ValidationErrors;

                var responseError = request.CreateResponse(HttpStatusCode.BadRequest, postCategoryViewModel);
                return(responseError);
            }
            else
            {
                postCategoryViewModel.CopyFromPostCategoryDTO(categoryDto);
                postCategoryViewModel.ReturnStatus  = true;
                postCategoryViewModel.ReturnMessage = transactionalInformation.ReturnMessage;
                response = request.CreateResponse(HttpStatusCode.OK, postCategoryViewModel);
            }

            return(response);
        }