Пример #1
0
    public bool SaveBuyerRequestMobile(string BuyerEmail, string BuyerCity,
           string BuyerPhone, string BuyerFirstName, string BuyerLastName, string BuyerComments,
           string IpAddress, string Sellerphone, string Sellerprice, string Carid,
           string sYear, string Make, string Model, string price, string ToEmail, string AuthenticationID, string CustomerID)
    {
        BuyerTranBL objBuyerTranBL = new BuyerTranBL();
        MobileBL objMobileBL = new MobileBL();

        if (CustomerID.Trim() != "")
        {
              string parameters=BuyerPhone+","+Sellerphone+","+Carid;
            DataSet dsSaveCustInfo = objMobileBL.SaveMobileCustomerInfo("SaveBuyerRequestMobile", CustomerID,AuthenticationID,parameters);
        }
        if (AuthenticationID == ConfigurationManager.AppSettings["AppleID"].ToString())
        {
            objBuyerTranBL.SaveBuyerRequestMobile(BuyerEmail, BuyerCity,
               BuyerPhone, BuyerFirstName, BuyerLastName, BuyerComments,
               IpAddress, Sellerphone, Sellerprice, Carid,
                sYear, Make, Model, price, "1", ToEmail);

            return true;
        }
        else
        {
            return false;
        }
    }
    public bool SaveBuyerRequestMobile(string BuyerEmail, string BuyerCity,
          string BuyerPhone, string BuyerFirstName, string BuyerLastName, string BuyerComments,
          string IpAddress, string Sellerphone, string Sellerprice, string Carid,
           string sYear, string Make, string Model, string price, string ToEmail)
    {
        BuyerTranBL objBuyerTranBL = new BuyerTranBL();

        objBuyerTranBL.SaveBuyerRequestMobile(BuyerEmail, BuyerCity,
           BuyerPhone, BuyerFirstName, BuyerLastName, BuyerComments,
           IpAddress, Sellerphone, Sellerprice, Carid,
            sYear, Make, Model, price, "1", ToEmail);

        return true;
    }