コード例 #1
0
        public ActionResult <Contact> Create(Contact contact)
        {
            _contactsService.Create(contact);

            return(CreatedAtRoute("GetContact", new { id = contact.Id.ToString() }, contact));
        }