예제 #1
0
    public string AddPackageRequestMobile(string UID,string AuthenticationID,string CustomerID, string SessionID)
    {
        string returnStatus = "Failed";
        MobileBL objMobile = new MobileBL();
        DataSet ds = new DataSet();
        try
        {
            if (CustomerID != "")
            {
                string parameters = UID;
                DataSet dsSaveCustInfo = objMobile.SaveMobileCustomerInfo("AddPackageRequestMobile", CustomerID, AuthenticationID, parameters);
            }
            bool bnew = objMobile.CheckMobileAuthorizeUSer(SessionID, Convert.ToInt32(UID));
            if (bnew)
            {
                if (AuthenticationID == ConfigurationManager.AppSettings["AppleID"].ToString())
                {
                    returnStatus = objMobile.SaveAddPackageRequest(UID, CustomerID, AuthenticationID);
                }

            }
            else
            {
                returnStatus = "Session timed out";
            }
        }
        catch (Exception ex)
        {
        }
        return returnStatus;
    }