Beispiel #1
0
    public void DBOperation(Constants.Action command, Merchant_Deal item = null, List <Int64> Ids = null)
    {
        switch (command)
        {
        case Constants.Action.Insert:
            client.InsertDeal(item);
            break;

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

        default:
            break;
        }
    }