public void DeletePoint(RePayPoints RePayPoints) { //xóa lịch sử điểm HistoryPointController.DeletedPoint(RePayPoints.Id, "RePayPoints"); //Ghi nhận điểm lại MemberCardController.SynchUpdateTypeCrad(RePayPoints.CustomerId.Value, 0, RePayPoints.TotalPoint, null, false); }
public void RecordPoint(RePayPoints RePayPoints) { //Lưu lịch sử điểm HistoryPointController.CreatePoint(RePayPoints.CustomerId, RePayPoints.Id, "RePayPoints", 0, RePayPoints.TotalPoint); //Ghi nhận điểm MemberCardController.SynchUpdateTypeCrad(RePayPoints.CustomerId.Value, 0, RePayPoints.TotalPoint, null); }