public async Task <object> GetAllUsers()
        {
            var users = await _userRepository.GetAll();

            return(Ok(users));
        }
Esempio n. 2
0
        public async Task <object> GetAllCity()
        {
            var city = await _cityRepository.GetAll();

            return(Ok(city));
        }