/// <summary> /// Create response model /// </summary> /// <param name="model"></param> public static TrustGroupRegistrationResponseApiModel ToApiModel( this TrustGroupRegistrationResultModel model) { if (model == null) { return(null); } return(new TrustGroupRegistrationResponseApiModel { Id = model.Id }); }
/// <summary> /// Create response model /// </summary> /// <param name="model"></param> public TrustGroupRegistrationResponseApiModel(TrustGroupRegistrationResultModel model) { Id = model.Id; }