Example #1
0
 public void AddSpaceXSpaceFeature(ApiSpaceXSpaceFeatureResponseModel item)
 {
     if (!this.SpaceXSpaceFeatures.Any(x => x.Id == item.Id))
     {
         this.SpaceXSpaceFeatures.Add(item);
     }
 }
        public virtual ApiSpaceXSpaceFeatureRequestModel MapResponseToRequest(
            ApiSpaceXSpaceFeatureResponseModel response)
        {
            var request = new ApiSpaceXSpaceFeatureRequestModel();

            request.SetProperties(
                response.SpaceFeatureId,
                response.SpaceId);
            return(request);
        }