コード例 #1
0
        public async Task <ActionResult <Technology> > DeleteTechnology(int id)
        {
            var technology = await repository.DeleteAsync(id);

            if (technology == null)
            {
                return(NotFound());
            }

            return(technology);
        }