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

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

        default:
            break;
        }
    }