Exemple #1
0
        public bool checkUsername(string userName)
        {
            var model          = new TouristModel();
            var usernameExists = model.CheckIfUsernameExists(userName);

            return(usernameExists);
        }
Exemple #2
0
        public ProgressAndMessageModel Get(string androidId)
        {
            var model    = new TouristModel();
            var progress = model.ReturnTouristPlace(androidId);

            return(progress);
        }
Exemple #3
0
        // POST api/tourist
        public void Post([FromBody] NewTouristModel newTourist)
        {
            var model = new TouristModel();

            model.SaveTourist(newTourist);
        }