public BasicContactInformation GetContactInformation(long id) { var contact = _dbHandler.GetFullContactById(id); if (contact.Any()) { return(contact.Select(Mapper.Map <Contact, FullContactInformation>).First()); } return(null); }
public BasicContactInformation GetContactInformation(long id) { var contact = _dbHandler.GetFullContactById(id); if (contact.Any()) { return(contact.Select(Mapper.Map <Contact, FullContactInformation>).First()); } return(null); }