示例#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);
        }
 public void SetCallDispositionIdNavigation(ApiCallDispositionClientResponseModel value)
 {
     this.CallDispositionIdNavigation = value;
 }