public IHttpActionResult GetAllContacts() { //UserId var contacts = Mapper.Map <List <ContactModel> >(_contactFacade.GetAllContactsForLoggedUser(UserId)); return(Ok(contacts)); }
public IHttpActionResult GetAllContacts() { //UserId var contacts = Mapper.Map <List <ContactModel> >(_contactFacade.GetAllContactsForLoggedUser(UserId)); return(Ok(contacts)); }