public void AddSpaceFeature(ApiSpaceFeatureClientResponseModel item) { if (!this.SpaceFeatures.Any(x => x.Id == item.Id)) { this.SpaceFeatures.Add(item); } }
public virtual ApiSpaceFeatureClientRequestModel MapClientResponseToRequest( ApiSpaceFeatureClientResponseModel response) { var request = new ApiSpaceFeatureClientRequestModel(); request.SetProperties( response.Name); return(request); }
public virtual ApiSpaceFeatureClientResponseModel MapClientRequestToResponse( int id, ApiSpaceFeatureClientRequestModel request) { var response = new ApiSpaceFeatureClientResponseModel(); response.SetProperties(id, request.Name); return(response); }
public void SetSpaceFeatureIdNavigation(ApiSpaceFeatureClientResponseModel value) { this.SpaceFeatureIdNavigation = value; }