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

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

            return(Ok(city));
        }