public List <EmailDAO> GetEmails()
        {
            var returnList = new List <EmailDAO>();

            foreach (var item in data.GetEmails())
            {
                returnList.Add(EmailMapper.MapToEmailDAO(item));
            }

            return(returnList);
        }
 public EmailDAO GetEmail(int id)
 {
     return(EmailMapper.MapToEmailDAO(data.GetEmail(id)));
 }