Example #1
0
        public IHttpActionResult GetContactList()
        {
            IEnumerable <Contact> contactList = _contactManager.GetAllContactDeatils();

            if (contactList != null)
            {
                return(Ok(contactList));
            }

            return(NotFound());
        }