Ejemplo n.º 1
0
        public async Task <IEnumerable <PortfolioModel> > GetPortfoliosUnUse()
        {
            try
            {
                var data = await _portfolioManager.GetPortfoliosUnUse();

                if (data == null)
                {
                    return(null);
                }
                return(_mapper.Map <IEnumerable <PortfolioModel> >(data));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }