示例#1
0
        public async Task SetAddress(int userId, UserAddressDTO userAddress)
        {
            var succeed = await _queries.SetAddress(userId, userAddress);

            if (!succeed)
            {
                throw new Exception("Couldn't set user address!");
            }
        }