public IList <ICustomerBO> GetAggregateObjects()
        {
            var result  = new List <ICustomerBO>();
            var dtoList = _dao.GetAll();

            foreach (var dto in dtoList)
            {
                result.Add(CustomerDTOAdapter.FromDTO(dto));
            }
            return(result);
        }
        public ICustomerBO GetAggregateObject(Guid id)
        {
            var dto = _dao.Get(id);

            if (null == dto)
            {
                return(null);
            }
            else
            {
                return(CustomerDTOAdapter.FromDTO(dto));
            }
        }
 public void Save(ICustomerBO dto)
 {
     _dao.Add(CustomerDTOAdapter.ToDTO(dto));
 }