public IHttpActionResult UpdateIntakeDestination(OrdersTransfereeIntakeDestinationDto dto)
        {
            var   userId = User.Identity.GetUserId();
            Order order  = _unitOfWork.Orders.GetOrderFor(userId, dto.Id, User.GetUserRole());

            if (order == null)
            {
                return(NotFound());
            }

            _mapper.Map <OrdersTransfereeIntakeDestinationDto, Order>(dto, order);
            _unitOfWork.Complete();

            return(Ok());
        }
        public void UpdateIntakeDestination_NoOrder_ReturnNotFound()
        {
            var   orderId = "1";
            Order order   = null;

            _mockRepository.Setup(r => r.GetOrderFor(_userId, orderId, UserRoles.Consultant)).Returns(order);

            var dto = new OrdersTransfereeIntakeDestinationDto()
            {
                Id = orderId, DestinationCountry = "Canada", DestinationCity = "Toronto", DestinationState = "Alberta"
            };

            var result = _controller.UpdateIntakeDestination(dto) as IHttpActionResult;

            result.Should().BeOfType <System.Web.Http.Results.NotFoundResult>();
        }