public bool Portfolio(Portfolio objPortfolio) { try { bl_Portfolio _objPortfolio = new bl_Portfolio(); return(_objPortfolio.InsertPortfolio(objPortfolio)); } catch (Exception exp) { ExceptionMessage = exp.Message; return(false); } }
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); }