コード例 #1
0
        public static InteractResult PfCustomer_OnRemove(string id)
        {
            InteractResult result = ServerProxy.DeletePfCustomer(id);

            switch (result.ExeResult)
            {
            case ExeResult.Success:
                PfCustomer c = pfCustomerList?.Find(t => t.ID == id);
                if (c != null)
                {
                    pfCustomerList?.Remove(c);
                }
                break;

            case ExeResult.Error:
                break;

            default:
                break;
            }
            return(result);
        }