Пример #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;
 }