示例#1
0
文件: InsertModel.cs 项目: AG-I2W/I2W
 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);
        }