/// <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
     });
 }
示例#2
0
 /// <summary>
 /// Create response model
 /// </summary>
 /// <param name="model"></param>
 public TrustGroupRegistrationResponseApiModel(TrustGroupRegistrationResultModel model)
 {
     Id = model.Id;
 }