public CashDepositAction Update(CashDepositAction cashDepositActionChanges)
        {
            var cashDepositAction = context.CashDepositActions.Attach(cashDepositActionChanges);

            cashDepositAction.State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            context.SaveChanges();
            return(cashDepositActionChanges);
        }
 public CashDepositAction Add(CashDepositAction cashDepositAction)
 {
     context.CashDepositActions.Add(cashDepositAction);
     context.SaveChanges();
     return(cashDepositAction);
 }