/// <summary> /// To the entity. /// </summary> /// <param name="model">The model.</param> /// <param name="destination">The destination.</param> /// <returns>TheLoai.</returns> public static TheLoai ToEntity(this TheLoaiModel model, TheLoai destination) { return(model.MapTo(destination)); }
/// <summary> /// To the entity. /// </summary> /// <param name="model">The model.</param> /// <returns>TheLoai.</returns> public static TheLoai ToEntity(this TheLoaiModel model) { return(model.MapTo <TheLoaiModel, TheLoai>()); }