ASP.NET_Core_SPAs.API.ContactsApiController.ContactExists C# (CSharp) 메소드

ContactExists() 개인적인 메소드

private ContactExists ( int id ) : bool
id int
리턴 bool
        private bool ContactExists(int id)
        {
            return _context.Contacts.Count(e => e.Id == id) > 0;
        }