public string UpdProductCard(string serialNo, string processMode, string mcNo, int nQty, string userid)
    {
        string result = string.Empty;

        try
        {
            using (ProductCardBLL pdBll = new ProductCardBLL())
            {
                result = pdBll.Horizontal_UpdProductCard(serialNo, mcNo, processMode, nQty, userid);
            }
        }
        catch (Exception ex)
        {
            result = ex.Message;
        }
        return(result);
    }
    public ProductCard GetProductCardInfo(string serialNo, string processMode, string userid, out string resultMsg) //, out string resultMsg
    {
        resultMsg = string.Empty;
        ProductCard pdCard = null;

        try
        {
            using (ProductCardBLL pdBll = new ProductCardBLL())
            {
                pdCard = pdBll.Horizontal_GetProductCardInfo(serialNo, processMode, userid, out resultMsg);
            }
        }
        catch (Exception ex)
        {
            pdCard = null;
            throw ex;
        }
        return(pdCard);
    }