Beispiel #1
0
        public virtual ApiCallAssignmentClientRequestModel MapClientResponseToRequest(
            ApiCallAssignmentClientResponseModel response)
        {
            var request = new ApiCallAssignmentClientRequestModel();

            request.SetProperties(
                response.CallId,
                response.UnitId);
            return(request);
        }
Beispiel #2
0
        public virtual ApiCallAssignmentClientResponseModel MapClientRequestToResponse(
            int id,
            ApiCallAssignmentClientRequestModel request)
        {
            var response = new ApiCallAssignmentClientResponseModel();

            response.SetProperties(id,
                                   request.CallId,
                                   request.UnitId);
            return(response);
        }