public ActionResult <string> DeleteContactInformation(int id) { try { id = _contactManager.DeleteContactInformation(id); if (id > 0) { return(Ok($"Contact successfully deleted with Id: {id}")); } else { return(NotFound($"Contact not found.")); } } catch (Exception ex) { Log.Error(ex.Message); return(Ok("Something went wrong. Please try again.")); } }