コード例 #1
0
 /// <summary>
 /// To the entity.
 /// </summary>
 /// <param name="model">The model.</param>
 /// <param name="destination">The destination.</param>
 /// <returns>ChatLieu.</returns>
 public static ChatLieu ToEntity(this ChatLieuModel model, ChatLieu destination)
 {
     return(model.MapTo(destination));
 }
コード例 #2
0
 /// <summary>
 /// To the entity.
 /// </summary>
 /// <param name="model">The model.</param>
 /// <returns>ChatLieu.</returns>
 public static ChatLieu ToEntity(this ChatLieuModel model)
 {
     return(model.MapTo <ChatLieuModel, ChatLieu>());
 }