public virtual ApiLocationRequestModel MapResponseToRequest(
            ApiLocationResponseModel response)
        {
            var request = new ApiLocationRequestModel();

            request.SetProperties(
                response.Availability,
                response.CostRate,
                response.ModifiedDate,
                response.Name);
            return(request);
        }
        public virtual ApiLocationResponseModel MapRequestToResponse(
            short locationID,
            ApiLocationRequestModel request)
        {
            var response = new ApiLocationResponseModel();

            response.SetProperties(locationID,
                                   request.Availability,
                                   request.CostRate,
                                   request.ModifiedDate,
                                   request.Name);
            return(response);
        }