Ejemplo n.º 1
0
        public async Task <ActionResult> DeleteAddressFromObservationList(
            AddressRequest request)
        {
            var address = request.Address.ToLowerInvariant();

            if (await _balanceService.EndObservationIfObservingAsync(address))
            {
                return(Ok());
            }
            else
            {
                return(NoContent());
            }
        }