Ejemplo n.º 1
0
    public TransferOrderInfo GetTOInfo(string toNo, string userid, out string resultMsg) //, out string resultMsg
    {
        resultMsg = string.Empty;
        TransferOrderInfo toInfo = null;

        try
        {
            using (ProductCardTOBLL pdToBll = new ProductCardTOBLL())
            {
                toInfo = pdToBll.GetTOInfo(toNo, userid, out resultMsg);
            }
        }
        catch (Exception ex)
        {
            toInfo = null;
            throw ex;
        }
        return(toInfo);
    }
Ejemplo n.º 2
0
    public ProductCard GetUpdatePC_MTST_Out(string serialNo, string userid, out string resultMsg) //
    {
        resultMsg = string.Empty;
        ProductCard pdCard = null;

        try
        {
            using (ProductCardTOBLL pdtoBll = new ProductCardTOBLL())
            {
                pdCard = pdtoBll.GetUpdatePC_MTSTOut(serialNo, userid, out resultMsg);
            }
        }
        catch (Exception ex)
        {
            pdCard = null;
            throw ex;
        }

        return(pdCard);
    }