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!"); } }
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!"); } }