Пример #1
0
 public bool Portfolio(Portfolio objPortfolio)
 {
     try
     {
         bl_Portfolio _objPortfolio = new bl_Portfolio();
         return(_objPortfolio.InsertPortfolio(objPortfolio));
     }
     catch (Exception exp)
     {
         ExceptionMessage = exp.Message;
         return(false);
     }
 }
Пример #2
0
        public List <Portfolio> ReadCompletePortfolio()
        {
            List <Portfolio> _lstPortfolio = new List <Portfolio>();

            try
            {
                bl_Portfolio _objPortfolio = new bl_Portfolio();
                _lstPortfolio = _objPortfolio.ReadCompletePortfolio();
            }
            catch (Exception exp)
            {
                ExceptionMessage = exp.Message;
            }
            return(_lstPortfolio);
        }