public async Task RemoveUserAddress(int userId, int addressId) { var succeed = await _queries.RemoveUserAddress(userId, addressId); if (!succeed) { throw new Exception("Couldn't remove user address!"); } }
public async Task RemoveUserAddress(int userId, int addressId) { var succeed = await _queries.RemoveUserAddress(userId, addressId); if (!succeed) { throw new Exception("Couldn't remove user address!"); } }