Example #1
0
        public void RejectDeposit(int id, int DeletedBy)
        {
            MakePaymentProvider    serMakePayment = new MakePaymentProvider();
            Core_AgentCashDeposits result         = ent.Core_AgentCashDeposits.Where(x => x.DepositId == id).FirstOrDefault();

            result.Status = 3;
            ent.ApplyCurrentValues(result.EntityKey.EntitySetName, result);
            ent.SaveChanges();

            serMakePayment.UpdateGL_Transactions(id, DeletedBy);
        }