コード例 #1
0
 public void AddCallDisposition(ApiCallDispositionClientResponseModel item)
 {
     if (!this.CallDispositions.Any(x => x.Id == item.Id))
     {
         this.CallDispositions.Add(item);
     }
 }
コード例 #2
0
        public virtual ApiCallDispositionClientRequestModel MapClientResponseToRequest(
            ApiCallDispositionClientResponseModel response)
        {
            var request = new ApiCallDispositionClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
コード例 #3
0
        public virtual ApiCallDispositionClientResponseModel MapClientRequestToResponse(
            int id,
            ApiCallDispositionClientRequestModel request)
        {
            var response = new ApiCallDispositionClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }
コード例 #4
0
 public void SetCallDispositionIdNavigation(ApiCallDispositionClientResponseModel value)
 {
     this.CallDispositionIdNavigation = value;
 }