/// <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));
 }
 /// <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>());
 }