Esempio n. 1
0
 public void AddSelfReference(ApiSelfReferenceClientResponseModel item)
 {
     if (!this.SelfReferences.Any(x => x.Id == item.Id))
     {
         this.SelfReferences.Add(item);
     }
 }
Esempio n. 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;
 }