示例#1
0
    public void DBOperation(Constants.Action command, MissingCashBack item = null, List <int> Ids = null, List <MissingCashBack> items = null)
    {
        switch (command)
        {
        case Constants.Action.Insert:
            client.InsertCashIssue(item);
            break;

        case Constants.Action.Delete:
            client.DeleteCashIssue(Ids);
            break;

        case Constants.Action.Update:
            client.UpdateCashIssue(item);
            break;

        default:
            break;
        }
    }