예제 #1
0
 /// <summary>
 /// To the entity.
 /// </summary>
 /// <param name="model">The model.</param>
 /// <param name="destination">The destination.</param>
 /// <returns>HoaDonBan.</returns>
 public static HoaDonBan ToEntity(this HoaDonBanModel model, HoaDonBan destination)
 {
     return(model.MapTo(destination));
 }
예제 #2
0
 /// <summary>
 /// To the entity.
 /// </summary>
 /// <param name="model">The model.</param>
 /// <returns>HoaDonBan.</returns>
 public static HoaDonBan ToEntity(this HoaDonBanModel model)
 {
     return(model.MapTo <HoaDonBanModel, HoaDonBan>());
 }