Пример #1
0
        public async Task <IActionResult> DeleteHop(int id)
        {
            var hop = await _hopService.DeleteAsync(id);

            if (hop == null)
            {
                return(NotFound());
            }
            return(Ok(hop));
        }