partial void Deletecontact(contact instance);
partial void Insertcontact(contact instance);
partial void Updatecontact(contact instance);
public IActionResult AddItem([FromBody] contact newItem) { contactList.Add(newItem); return(CreatedAtRoute("GetSpecificItem", new { index = contactList.IndexOf(newItem) }, newItem)); }