コード例 #1
0
 public static ClientUris ToEntity(this ClientUrisViewModel model,
                                   ClientUris entity)
 {
     if (entity == null)
     {
         throw new ArgumentNullException(nameof(entity));
     }
     if (entity == null)
     {
         throw new ArgumentNullException(nameof(entity));
     }
     return(model.MapTo(entity));
 }
コード例 #2
0
 public static ClientUris ToEntity(this ClientUrisViewModel model)
 {
     return(model.MapTo <ClientUrisViewModel, ClientUris>());
 }