private void MapData(StatementCarryOverModel model, ref PropertyBalance balance, int month, int year) { balance.BeginningBalance = model.CarryOver; balance.AdjustedBalance = model.CarryOver; balance.PropertyCode = model.PropertyCode; balance.Month = month; balance.Year = year; }
private bool IsOverpaid(StatementCarryOverModel model) { return(Math.Abs(model.TotalPayment - model.TotalBalance) > 0.01 && //model.TotalPayment > 0 && model.CarryOver < 0; model.TotalBalance > 0 && model.TotalPayment > 0 && model.CarryOver < 0); }