Пример #1
0
        public async Task <ActionResult <Contact> > DeleteContact(int id)
        {
            var contact = await _contactsService.DeleteContactAsync(id);

            return(contact == null?NotFound() : contact);
        }