void sendMessage(Guide_Tourist gt) { TouristController c = new TouristController(); PushNotData p = new PushNotData(); p.to = gt.Token; p.body = gt.GuideEmail + "As Accept your request"; p.title = "Accept Request"; c.PostNotif(p); }
public PatternRoute touristComming(TouristController _tourist) { restPlace.tourist = _tourist; restPlace.state = RestState.IsComming; return(restPlace.touristPattern); }