/// <summary> /// To the model. /// </summary> /// <param name="entity">The entity.</param> /// <returns>KhachHangModel.</returns> public static KhachHangModel ToModel(this KhachHang entity) { return(entity.MapTo <KhachHang, KhachHangModel>()); }
/// <summary> /// To the model. /// </summary> /// <param name="entity">The entity.</param> /// <returns>KhachHangModel.</returns> public static KhachHangModel ToModel(this KhachHang entity) { return(entity.MapTo <KhachHang, KhachHangModel>()); }