示例#1
0
 public void AddSelfReference(ApiSelfReferenceClientResponseModel item)
 {
     if (!this.SelfReferences.Any(x => x.Id == item.Id))
     {
         this.SelfReferences.Add(item);
     }
 }
示例#2
0
        public virtual ApiSelfReferenceClientRequestModel MapClientResponseToRequest(
            ApiSelfReferenceClientResponseModel response)
        {
            var request = new ApiSelfReferenceClientRequestModel();

            request.SetProperties(
                response.SelfReferenceId,
                response.SelfReferenceId2);
            return(request);
        }
 public void SetSelfReferenceId2Navigation(ApiSelfReferenceClientResponseModel value)
 {
     this.SelfReferenceId2Navigation = value;
 }