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

            if (await _balanceService.BeginObservationIfNotObservingAsync(address))
            {
                return(Ok());
            }
            else
            {
                return(Conflict());
            }
        }