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