Esempio n. 1
0
        public void Create(Address address)
        {
            try
            {
                var c = crudAddress.Retrieve <Address>(address);
                if (c != null)
                {
                    throw new BusinessException(3);
                }

                crudAddress.Create(address);
            }
            catch (Exception ex)
            {
                ExceptionManager.GetInstance().Process(ex);
            }
        }
 public Address RetrieveById(Address address)
 {
     return(crudAddress.Retrieve <Address>(address));
 }