Exemplo n.º 1
0
        public async Task <IActionResult> ClearTrackingData(int nonce)
        {
            var response = await _linkForwarderService.ClearTrackingDataAsync();

            if (!response.IsSuccess)
            {
                Response.StatusCode = StatusCodes.Status500InternalServerError;
            }
            return(Json(response));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> ClearTrackingData()
        {
            await _linkForwarderService.ClearTrackingDataAsync();

            return(Ok());
        }