Пример #1
0
        public async Task <IActionResult> RemoveLocation(string ip, bool removeAllRows = false)
        {
            var result = await _localizationRepository.RemoveByIpAsync(ip, removeAllRows);

            if (!result)
            {
                return(NotFound());
            }
            return(StatusCode(202));
        }