/// <summary>
 /// Create from service model
 /// </summary>
 /// <param name="model"></param>
 public MethodCallArgumentApiModel(MethodCallArgumentModel model)
 {
     if (model == null)
     {
         throw new ArgumentNullException(nameof(model));
     }
     Value    = model.Value;
     DataType = model.DataType;
 }
 /// <summary>
 /// Create from service model
 /// </summary>
 /// <param name="model"></param>
 public static MethodCallArgumentApiModel ToApiModel(
     this MethodCallArgumentModel model)
 {
     if (model == null)
     {
         return(null);
     }
     return(new MethodCallArgumentApiModel {
         Value = model.Value,
         DataType = model.DataType
     });
 }