public void AddCallDisposition(ApiCallDispositionClientResponseModel item) { if (!this.CallDispositions.Any(x => x.Id == item.Id)) { this.CallDispositions.Add(item); } }
public virtual ApiCallDispositionClientRequestModel MapClientResponseToRequest( ApiCallDispositionClientResponseModel response) { var request = new ApiCallDispositionClientRequestModel(); request.SetProperties( response.Name); return(request); }
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; }