Exemple #1
0
        public InvestorCETO GetInvestor(int investorId)
        {
            var inv = iDAO.GetFullById(investorId);

            if (null != inv)
            {
                return(iDAO.createFullTransferObject(inv));
            }
            else
            {
                var ex = new NotFoundException("Nie odnaleziono inwestora o id równym " + investorId.ToString());
                throw new FaultException <NotFoundException>(ex);
            }
        }