コード例 #1
0
        public async Task <IHttpActionResult> DeleteHop(int id)
        {
            var hop = await _hopService.DeleteHopAsync(id);

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