public async Task <IActionResult> ProcessNotificationAsync() { var clientIp = _accessor.HttpContext.Connection.RemoteIpAddress.ToString(); using (StreamReader reader = new StreamReader(Request.Body, Encoding.UTF8)) { var content = await reader.ReadToEndAsync(); await _requestsRepository.InsertAsync(content, clientIp); } return(StatusCode((int)HttpStatusCode.Accepted)); }