Exemple #1
0
        public IHttpActionResult GetAllContacts()
        {                                                                                                    //UserId
            var contacts = Mapper.Map <List <ContactModel> >(_contactFacade.GetAllContactsForLoggedUser(UserId));

            return(Ok(contacts));
        }