public int UpdateBrokerStatus(long brokerId,int status,long leadid) { Broker broker = new Broker (); broker.BrokerID = brokerId; broker.LeadID = leadid; broker.Status = status; //RestService restSevice = new RestService (); string leadsApicall = Constants.DealMaker; string postData = Newtonsoft.Json.JsonConvert.SerializeObject(broker); string response = RestService.Instance.PostData (leadsApicall, postData); var parsedResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<int>(response.ToString()); return parsedResponse; }
public override void ViewWillAppear(bool animated) { base.ViewWillAppear (animated); this.ParentViewController.NavigationController.SetNavigationBarHidden (true, false); this.NavigationController.SetNavigationBarHidden (false, false); this.NavigationController.NavigationBar.BarTintColor = UIColor.FromRGB(157,50,49); this.NavigationController.NavigationBar.TintColor = UIColor.White; this.NavigationItem.SetHidesBackButton (true, false); //ReferralRequestBL rrBL = new ReferralRequestBL (); //rrList = rrBL.GetReferralRequest (AppDelegate.UserDetails.UserId); // this.NavigationController.TabBarItem.BadgeValue = .ToString () brokerprofile = AppDelegate.brokerBL.GetBrokerFromID(AppDelegate.UserDetails.UserId).FirstOrDefault(); loadView (); }
public override void ViewWillDisappear(bool animated) { base.ViewWillDisappear (animated); brokerprofile = null; rrdetails = null; }
public void UpdateCell(Broker brokerObj) { LabelDealMakerScoreName.Text = "Maker Score: "; // LabelDealMakerIndustry.Text = "Industry: "; // LabelDealMakerLocation.Text = "Location: " ; LabelDealMakerScoreDigit.Text = brokerObj.BrokerScore; LabelDealMakerIndustryDiscription.Text = brokerObj.Industry; LabelDealMakerLocationDescription.Text = brokerObj.City; //+ ", " + brokerObj.State; LabelLeadStatus.Text = GetStatus(brokerObj.Status); // LabelTitleHeading.Text = "Title: "; LabelTitle.Text = brokerObj.BrokerTitle; // ImageViewDealMakerImage.Image = }